[FAST486]

Increment SP, not ESP for 16-bit stacks.


svn path=/branches/ntvdm/; revision=60925
This commit is contained in:
Aleksandar Andrejevic 2013-11-10 22:49:19 +00:00
parent c3c7bb89c1
commit 7ec93e81ff

View file

@ -365,7 +365,7 @@ Fast486StackPop(PFAST486_STATE State,
}
/* 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;