Author: aandrejevic
Date: Sat Sep 28 00:46:04 2013
New Revision: 60396
URL:
http://svn.reactos.org/svn/reactos?rev=60396&view=rev
Log:
[SOFT386]
Fix the BOP opcode. It's LES AX, SP not LES AX, BP.
Modified:
branches/ntvdm/lib/soft386/opcodes.c
Modified: branches/ntvdm/lib/soft386/opcodes.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/soft386/opcodes.c?rev…
==============================================================================
--- branches/ntvdm/lib/soft386/opcodes.c [iso-8859-1] (original)
+++ branches/ntvdm/lib/soft386/opcodes.c [iso-8859-1] Sat Sep 28 00:46:04 2013
@@ -4503,7 +4503,7 @@
/* Check if this is a BOP and the host supports BOPs */
if ((Opcode == 0xC4)
&& (ModRegRm.Register == SOFT386_REG_EAX)
- && (ModRegRm.SecondRegister == SOFT386_REG_EBP)
+ && (ModRegRm.SecondRegister == SOFT386_REG_ESP)
&& (State->BopCallback != NULL))
{
USHORT BopCode;