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)) {