fun set_op(var inst : InstOp, Op, ftype, ftime)
{
    inst.op = Op?cvt(ushort);
    inst.ftype = ftype?cvt(uchar);
    inst.ftime = ftime?cvt(uchar);
}