[#03533] 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
parent 98be8ed00d
commit dfff696a55

View File

@ -480,7 +480,14 @@ static char* get_ea_mode_str(UINT32 instruction, UINT32 size)
strcat(mode, "["); strcat(mode, "[");
if(base) 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; comma = 1;
} }
if(*base_reg) if(*base_reg)