[FAST486]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Tue, 12 Nov 2013 18:40:13 +0000 (18:40 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Tue, 12 Nov 2013 18:40:13 +0000 (18:40 +0000)
Don't forget to check for the operand/address size prefix.

svn path=/branches/ntvdm/; revision=60964

lib/fast486/extraops.c

index ba2b5bd..6f66e56 100644 (file)
@@ -903,6 +903,9 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeImul)
 
     OperandSize = AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
 
+    TOGGLE_OPSIZE(OperandSize);
+    TOGGLE_ADSIZE(AddressSize);
+
     /* Get the operands */
     if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
     {