Fixed recently introduced PUSH_Eq decoding bug

This commit is contained in:
Stanislav Shwartsman 2008-05-08 21:34:22 +00:00
parent 09c875b11c
commit 16d073bf51

View File

@ -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. // Copyright (C) 2001 MandrakeSoft S.A.
@ -851,7 +851,7 @@ static const BxOpcodeInfo_t BxOpcodeInfo64R[512*3] = {
/* 8C /dr */ { 0, BX_IA_MOV_EwSwR }, /* 8C /dr */ { 0, BX_IA_MOV_EwSwR },
/* 8D /dr */ { 0, BX_IA_ERROR }, // LEA /* 8D /dr */ { 0, BX_IA_ERROR }, // LEA
/* 8E /dr */ { 0, BX_IA_MOV_SwEw }, /* 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 /* 90 /dr */ { 0, BX_IA_XCHG_ERXEAX }, // handles XCHG R8d, EAX
/* 91 /dr */ { 0, BX_IA_XCHG_ERXEAX }, /* 91 /dr */ { 0, BX_IA_XCHG_ERXEAX },
/* 92 /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 }, /* 8C /dm */ { 0, BX_IA_MOV_EwSwM },
/* 8D /dm */ { 0, BX_IA_LEA_GdM }, /* 8D /dm */ { 0, BX_IA_LEA_GdM },
/* 8E /dm */ { 0, BX_IA_MOV_SwEw }, /* 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 /* 90 /dm */ { 0, BX_IA_XCHG_ERXEAX }, // handles XCHG R8d, EAX
/* 91 /dm */ { 0, BX_IA_XCHG_ERXEAX }, /* 91 /dm */ { 0, BX_IA_XCHG_ERXEAX },
/* 92 /dm */ { 0, BX_IA_XCHG_ERXEAX }, /* 92 /dm */ { 0, BX_IA_XCHG_ERXEAX },