FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD8)
{
- UCHAR Function;
+ FAST486_MOD_REG_RM ModRegRm;
+ BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
- /* Fetch the function number */
- if (!Fast486FetchByte(State, &Function))
+ /* Get the operands */
+ if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
{
/* Exception occurred */
return FALSE;
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD9)
{
- UCHAR Function;
+ FAST486_MOD_REG_RM ModRegRm;
+ BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
- /* Fetch the function number */
- if (!Fast486FetchByte(State, &Function))
+ /* Get the operands */
+ if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
{
/* Exception occurred */
return FALSE;
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDA)
{
- UCHAR Function;
+ FAST486_MOD_REG_RM ModRegRm;
+ BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
- /* Fetch the function number */
- if (!Fast486FetchByte(State, &Function))
+ /* Get the operands */
+ if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
{
/* Exception occurred */
return FALSE;
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDB)
{
- UCHAR Function;
+ FAST486_MOD_REG_RM ModRegRm;
+ BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
- /* Fetch the function number */
- if (!Fast486FetchByte(State, &Function))
+ /* Get the operands */
+ if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
{
/* Exception occurred */
return FALSE;
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDC)
{
- UCHAR Function;
+ FAST486_MOD_REG_RM ModRegRm;
+ BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
- /* Fetch the function number */
- if (!Fast486FetchByte(State, &Function))
+ /* Get the operands */
+ if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
{
/* Exception occurred */
return FALSE;
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDD)
{
- UCHAR Function;
+ FAST486_MOD_REG_RM ModRegRm;
+ BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
- /* Fetch the function number */
- if (!Fast486FetchByte(State, &Function))
+ /* Get the operands */
+ if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
{
/* Exception occurred */
return FALSE;
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDE)
{
- UCHAR Function;
+ FAST486_MOD_REG_RM ModRegRm;
+ BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
- /* Fetch the function number */
- if (!Fast486FetchByte(State, &Function))
+ /* Get the operands */
+ if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
{
/* Exception occurred */
return FALSE;
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDF)
{
- UCHAR Function;
+ FAST486_MOD_REG_RM ModRegRm;
+ BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
- /* Fetch the function number */
- if (!Fast486FetchByte(State, &Function))
+ /* Get the operands */
+ if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
{
/* Exception occurred */
return FALSE;