[FAST486]

The default segment is SS when the SIB base is EBP.


svn path=/trunk/; revision=67674
This commit is contained in:
Aleksandar Andrejevic 2015-05-12 02:47:59 +00:00
parent c2725fbadb
commit c0e9ec7940

View file

@ -1074,7 +1074,8 @@ Fast486ParseModRegRm(PFAST486_STATE State,
}
}
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))