if (AddressSize) State->GeneralRegs[FAST486_REG_ESI].Long -= (Count - 1) * DataSize;
else State->GeneralRegs[FAST486_REG_ESI].LowWord -= (Count - 1) * DataSize;
}
+
+ /* Update registers */
+ if (OperandSize)
+ {
+ State->GeneralRegs[FAST486_REG_ECX].Long = 0;
+ State->GeneralRegs[FAST486_REG_ESI].Long += Count - 1;
+ }
+ else
+ {
+ State->GeneralRegs[FAST486_REG_ECX].LowWord = 0;
+ State->GeneralRegs[FAST486_REG_ESI].LowWord += Count - 1;
+ }
}
/* Read from the source operand */