Author: aandrejevic
Date: Wed Nov 13 22:34:38 2013
New Revision: 60985

URL: http://svn.reactos.org/svn/reactos?rev=60985&view=rev
Log:
[FAST486]
Fix previous fix.


Modified:
    branches/ntvdm/lib/fast486/opgroups.c

Modified: branches/ntvdm/lib/fast486/opgroups.c
URL: 
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/opgroups.c?rev=60985&r1=60984&r2=60985&view=diff
==============================================================================
--- branches/ntvdm/lib/fast486/opgroups.c       [iso-8859-1] (original)
+++ branches/ntvdm/lib/fast486/opgroups.c       [iso-8859-1] Wed Nov 13 
22:34:38 2013
@@ -496,8 +496,8 @@
     if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
     {
         /* Exception occurred - restore SP */
-        if (OperandSize) State->GeneralRegs[FAST486_REG_ESP].Long += 
sizeof(ULONG);
-        else State->GeneralRegs[FAST486_REG_ESP].LowWord += sizeof(USHORT);
+        if (OperandSize) State->GeneralRegs[FAST486_REG_ESP].Long -= 
sizeof(ULONG);
+        else State->GeneralRegs[FAST486_REG_ESP].LowWord -= sizeof(USHORT);
 
         return FALSE;
     }


Reply via email to