From 16d073bf5101d8bbb77b60ab6e9a3f56fafa2177 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Thu, 8 May 2008 21:34:22 +0000 Subject: [PATCH] Fixed recently introduced PUSH_Eq decoding bug --- bochs/cpu/fetchdecode64.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bochs/cpu/fetchdecode64.cc b/bochs/cpu/fetchdecode64.cc index 17a6af951..4c11ce3af 100644 --- a/bochs/cpu/fetchdecode64.cc +++ b/bochs/cpu/fetchdecode64.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: fetchdecode64.cc,v 1.197 2008-05-02 22:47:07 sshwarts Exp $ +// $Id: fetchdecode64.cc,v 1.198 2008-05-08 21:34:22 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -851,7 +851,7 @@ static const BxOpcodeInfo_t BxOpcodeInfo64R[512*3] = { /* 8C /dr */ { 0, BX_IA_MOV_EwSwR }, /* 8D /dr */ { 0, BX_IA_ERROR }, // LEA /* 8E /dr */ { 0, BX_IA_MOV_SwEw }, - /* 8F /dr */ { BxGroup1A, BX_IA_ERROR, BxOpcodeInfoG1AEdR }, + /* 8F /dr */ { BxGroup1A, BX_IA_ERROR, BxOpcodeInfo64G1AEqR }, /* 90 /dr */ { 0, BX_IA_XCHG_ERXEAX }, // handles XCHG R8d, EAX /* 91 /dr */ { 0, BX_IA_XCHG_ERXEAX }, /* 92 /dr */ { 0, BX_IA_XCHG_ERXEAX }, @@ -2438,7 +2438,7 @@ static const BxOpcodeInfo_t BxOpcodeInfo64M[512*3] = { /* 8C /dm */ { 0, BX_IA_MOV_EwSwM }, /* 8D /dm */ { 0, BX_IA_LEA_GdM }, /* 8E /dm */ { 0, BX_IA_MOV_SwEw }, - /* 8F /dm */ { BxGroup1A, BX_IA_ERROR, BxOpcodeInfoG1AEdM }, + /* 8F /dm */ { BxGroup1A, BX_IA_ERROR, BxOpcodeInfo64G1AEqM }, /* 90 /dm */ { 0, BX_IA_XCHG_ERXEAX }, // handles XCHG R8d, EAX /* 91 /dm */ { 0, BX_IA_XCHG_ERXEAX }, /* 92 /dm */ { 0, BX_IA_XCHG_ERXEAX },