Author: aandrejevic
Date: Tue May 12 02:47:59 2015
New Revision: 67674
URL:
http://svn.reactos.org/svn/reactos?rev=67674&view=rev
Log:
[FAST486]
The default segment is SS when the SIB base is EBP.
Modified:
trunk/reactos/lib/fast486/common.inl
Modified: trunk/reactos/lib/fast486/common.inl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/common.inl?rev…
==============================================================================
--- trunk/reactos/lib/fast486/common.inl [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/common.inl [iso-8859-1] Tue May 12 02:47:59 2015
@@ -1074,7 +1074,8 @@
}
}
- if ((SibByte & 0x07) == FAST486_REG_ESP)
+ if (((SibByte & 0x07) == FAST486_REG_ESP)
+ || ((SibByte & 0x07) == FAST486_REG_EBP && Mode != 0))
{
/* Check if there is no segment override */
if (!(State->PrefixFlags & FAST486_PREFIX_SEG))