From ac9f8a81e3be30044e82d082d516e91c9be56bd0 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Tue, 12 Nov 2013 18:40:13 +0000 Subject: [PATCH] [FAST486] Don't forget to check for the operand/address size prefix. svn path=/branches/ntvdm/; revision=60964 --- lib/fast486/extraops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/fast486/extraops.c b/lib/fast486/extraops.c index ba2b5bd263f..6f66e565b7c 100644 --- a/lib/fast486/extraops.c +++ b/lib/fast486/extraops.c @@ -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)) {