public override OpCodeOperandKind OpKind(EncoderTypes encoderTypes, int arg) { if (arg == 0) { return(OpCodeOperandKind.mm_reg); } if (arg == 1) { return(OpCodeOperandKind.mm_or_mem); } throw new ArgumentOutOfRangeException($"{arg}"); }
public abstract OpCodeOperandKind OpKind(EncoderTypes encoderTypes, int arg);
public override OpCodeOperandKind OpKind(EncoderTypes encoderTypes, int arg) { var kind = OpKinds[arg]; return((OpCodeOperandKind)encoderTypes.EvexOpHandlers[(int)kind].opCodeOperandKind.Value); }