Author: aandrejevic
Date: Sun Nov 10 22:49:19 2013
New Revision: 60925

URL: http://svn.reactos.org/svn/reactos?rev=60925&view=rev
Log:
[FAST486]
Increment SP, not ESP for 16-bit stacks.


Modified:
    branches/ntvdm/lib/fast486/common.inl

Modified: branches/ntvdm/lib/fast486/common.inl
URL: 
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/common.inl?rev=60925&r1=60924&r2=60925&view=diff
==============================================================================
--- branches/ntvdm/lib/fast486/common.inl       [iso-8859-1] (original)
+++ branches/ntvdm/lib/fast486/common.inl       [iso-8859-1] Sun Nov 10 
22:49:19 2013
@@ -365,7 +365,7 @@
         }
 
         /* Increment SP by 2 */
-        State->GeneralRegs[FAST486_REG_ESP].Long += 2;
+        State->GeneralRegs[FAST486_REG_ESP].LowWord += 2;
 
         /* Store the value in the result */
         *Value = ShortValue;


Reply via email to