Author: aandrejevic
Date: Thu Nov 14 03:03:23 2013
New Revision: 60989
URL:
http://svn.reactos.org/svn/reactos?rev=60989&view=rev
Log:
[FAST486]
Fix previous fix.
Modified:
branches/ntvdm/lib/fast486/opcodes.c
Modified: branches/ntvdm/lib/fast486/opcodes.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/opcodes.c?rev…
==============================================================================
--- branches/ntvdm/lib/fast486/opcodes.c [iso-8859-1] (original)
+++ branches/ntvdm/lib/fast486/opcodes.c [iso-8859-1] Thu Nov 14 03:03:23 2013
@@ -5890,12 +5890,12 @@
if (OperandSize)
{
State->GeneralRegs[FAST486_REG_ECX].Long = 0;
- State->GeneralRegs[FAST486_REG_ESI].Long += Count - 1;
+ State->GeneralRegs[FAST486_REG_ESI].Long += (Count - 1) * DataSize;
}
else
{
State->GeneralRegs[FAST486_REG_ECX].LowWord = 0;
- State->GeneralRegs[FAST486_REG_ESI].LowWord += Count - 1;
+ State->GeneralRegs[FAST486_REG_ESI].LowWord += (Count - 1) * DataSize;
}
}