Properly show 32-bit displacement for 020+ A reg relative [R. Belmont]

This commit is contained in:
R. Belmont 2010-03-11 04:50:27 +00:00 committed by Emmanuel Anne
parent 7efac187bd
commit 8e1710d0f7

View file

@ -499,7 +499,14 @@ static char* get_ea_mode_str(uint instruction, uint size)
strcat(mode, "[");
if(base)
{
strcat(mode, make_signed_hex_str_16(base));
if (EXT_BASE_DISPLACEMENT_LONG(extension))
{
strcat(mode, make_signed_hex_str_32(base));
}
else
{
strcat(mode, make_signed_hex_str_16(base));
}
comma = 1;
}
if(*base_reg)