Skip to content
Snippets Groups Projects
Commit 0cc42e60 authored by jdh8d's avatar jdh8d
Browse files

fixed r8/rax diasmbiguation that was done poorly

Former-commit-id: 7306d8a02a6128d2658fc92a97c5317bd479f8cc
parent b68026ae
No related branches found
No related tags found
No related merge requests found
......@@ -556,7 +556,7 @@ void __bea_callspec__ ALIb(PDISASM pMyDisasm)
#ifndef BEA_LIGHT_DISASSEMBLY
(void) strcpy((char*) &(*pMyDisasm).Argument1.ArgMnemonic, Registers8Bits[0+reg_offset]);
#endif
if(GV.REX.B_)
if(GV.REX.B_==0)
(*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+GENERAL_REG+REG0;
else
(*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+GENERAL_REG+REG8;
......@@ -572,7 +572,7 @@ void __bea_callspec__ ALIb(PDISASM pMyDisasm)
void __bea_callspec__ eAX_Iv(PDISASM pMyDisasm)
{
UInt32 MyNumber;
if(GV.REX.B_)
if(GV.REX.B_==0)
(*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+GENERAL_REG+REG0;
else
(*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+GENERAL_REG+REG8;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment