public static MaybeOption <FpRegister> GetOperand(CodeContext context, Instruction instruction, SharpDisasm.Operand operand, FpRegister overload) { if (operand.Type == ud_type.UD_OP_REG) { var reg = SdToAsm.SdToAsmJit(context, operand.Base); if (reg.Present && reg.Type == RegisterType.FpRegister) { return(new MaybeOption <FpRegister>() { Present = true, Value = (FpRegister)reg.Register }); } } return(new MaybeOption <FpRegister>()); }
internal FpRegister(FpRegister other) : base(other) { }