Author: aandrejevic
Date: Mon Sep 30 02:06:55 2013
New Revision: 60465
URL:
http://svn.reactos.org/svn/reactos?rev=60465&view=rev
Log:
[SOFT386]
Remove whitespace from empty line.
Fix addressing bug.
Modified:
branches/ntvdm/lib/soft386/common.inl
branches/ntvdm/lib/soft386/opgroups.c
Modified: branches/ntvdm/lib/soft386/common.inl
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/soft386/common.inl?re…
==============================================================================
--- branches/ntvdm/lib/soft386/common.inl [iso-8859-1] (original)
+++ branches/ntvdm/lib/soft386/common.inl [iso-8859-1] Mon Sep 30 02:06:55 2013
@@ -647,6 +647,9 @@
/* Add the signed offset to the address */
ModRegRm->MemoryAddress += (LONG)Offset;
}
+
+ /* Clear the top 16 bits */
+ ModRegRm->MemoryAddress &= 0xFFFF0000;
}
return TRUE;
Modified: branches/ntvdm/lib/soft386/opgroups.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/soft386/opgroups.c?re…
==============================================================================
--- branches/ntvdm/lib/soft386/opgroups.c [iso-8859-1] (original)
+++ branches/ntvdm/lib/soft386/opgroups.c [iso-8859-1] Mon Sep 30 02:06:55 2013
@@ -705,7 +705,7 @@
{
SOFT386_MOD_REG_RM ModRegRm;
BOOLEAN OperandSize, AddressSize;
-
+
OperandSize = AddressSize = State->SegmentRegs[SOFT386_REG_CS].Size;
if (State->PrefixFlags & SOFT386_PREFIX_OPSIZE)