mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[SOFT386]
Remove whitespace from empty line. Fix addressing bug. svn path=/branches/ntvdm/; revision=60465
This commit is contained in:
parent
79355ae971
commit
462be21fd0
2 changed files with 4 additions and 1 deletions
|
@ -647,6 +647,9 @@ Soft386ParseModRegRm(PSOFT386_STATE State,
|
||||||
/* Add the signed offset to the address */
|
/* Add the signed offset to the address */
|
||||||
ModRegRm->MemoryAddress += (LONG)Offset;
|
ModRegRm->MemoryAddress += (LONG)Offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Clear the top 16 bits */
|
||||||
|
ModRegRm->MemoryAddress &= 0xFFFF0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
@ -705,7 +705,7 @@ SOFT386_OPCODE_HANDLER(Soft386OpcodeGroupC7)
|
||||||
{
|
{
|
||||||
SOFT386_MOD_REG_RM ModRegRm;
|
SOFT386_MOD_REG_RM ModRegRm;
|
||||||
BOOLEAN OperandSize, AddressSize;
|
BOOLEAN OperandSize, AddressSize;
|
||||||
|
|
||||||
OperandSize = AddressSize = State->SegmentRegs[SOFT386_REG_CS].Size;
|
OperandSize = AddressSize = State->SegmentRegs[SOFT386_REG_CS].Size;
|
||||||
|
|
||||||
if (State->PrefixFlags & SOFT386_PREFIX_OPSIZE)
|
if (State->PrefixFlags & SOFT386_PREFIX_OPSIZE)
|
||||||
|
|
Loading…
Reference in a new issue