mirror of
https://github.com/holub/mame
synced 2025-05-22 21:58:57 +03:00
[#03533] Properly show 32-bit displacement for 020+ A reg relative [R. Belmont]
This commit is contained in:
parent
98be8ed00d
commit
dfff696a55
@ -479,8 +479,15 @@ static char* get_ea_mode_str(UINT32 instruction, UINT32 size)
|
|||||||
if(preindex || postindex)
|
if(preindex || postindex)
|
||||||
strcat(mode, "[");
|
strcat(mode, "[");
|
||||||
if(base)
|
if(base)
|
||||||
|
{
|
||||||
|
if (EXT_BASE_DISPLACEMENT_LONG(extension))
|
||||||
|
{
|
||||||
|
strcat(mode, make_signed_hex_str_32(base));
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
strcat(mode, make_signed_hex_str_16(base));
|
strcat(mode, make_signed_hex_str_16(base));
|
||||||
|
}
|
||||||
comma = 1;
|
comma = 1;
|
||||||
}
|
}
|
||||||
if(*base_reg)
|
if(*base_reg)
|
||||||
|
Loading…
Reference in New Issue
Block a user