mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:52:56 +00:00
[FAST486]
Fix the previous fix in the Mod-Reg-R/M parser. EBP is still used if the mode is 1 or 2. svn path=/branches/ntvdm/; revision=60948
This commit is contained in:
parent
eaf248fe87
commit
c7a7dbe7e2
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@ Fast486ParseModRegRm(PFAST486_STATE State,
|
||||||
if (Index != FAST486_REG_ESP) Index = State->GeneralRegs[Index].Long;
|
if (Index != FAST486_REG_ESP) Index = State->GeneralRegs[Index].Long;
|
||||||
else Index = 0;
|
else Index = 0;
|
||||||
|
|
||||||
if ((SibByte & 0x07) != FAST486_REG_EBP)
|
if (((SibByte & 0x07) != FAST486_REG_EBP) || (Mode != 0))
|
||||||
{
|
{
|
||||||
/* Use the register a base */
|
/* Use the register a base */
|
||||||
Base = State->GeneralRegs[SibByte & 0x07].Long;
|
Base = State->GeneralRegs[SibByte & 0x07].Long;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue