mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:12:59 +00:00
[FAST486]
Fix the previous fix. ESI was already updated earlier in the function. svn path=/branches/ntvdm/; revision=60990
This commit is contained in:
parent
14a31007fc
commit
5e54387a9c
1 changed files with 3 additions and 11 deletions
|
@ -5886,17 +5886,9 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeLods)
|
||||||
else State->GeneralRegs[FAST486_REG_ESI].LowWord -= (Count - 1) * DataSize;
|
else State->GeneralRegs[FAST486_REG_ESI].LowWord -= (Count - 1) * DataSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Update registers */
|
/* Clear ECX */
|
||||||
if (OperandSize)
|
if (OperandSize) State->GeneralRegs[FAST486_REG_ECX].Long = 0;
|
||||||
{
|
else State->GeneralRegs[FAST486_REG_ECX].LowWord = 0;
|
||||||
State->GeneralRegs[FAST486_REG_ECX].Long = 0;
|
|
||||||
State->GeneralRegs[FAST486_REG_ESI].Long += (Count - 1) * DataSize;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
State->GeneralRegs[FAST486_REG_ECX].LowWord = 0;
|
|
||||||
State->GeneralRegs[FAST486_REG_ESI].LowWord += (Count - 1) * DataSize;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Read from the source operand */
|
/* Read from the source operand */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue