Nicer diassembly output
This commit is contained in:
parent
4fb64f8b2f
commit
5361aa325a
@ -496,6 +496,11 @@ static int _decode_print(Arch * arch, ArchInstructionCall * call)
|
|||||||
{
|
{
|
||||||
case AOT_DREGISTER:
|
case AOT_DREGISTER:
|
||||||
name = ao->value.dregister.name;
|
name = ao->value.dregister.name;
|
||||||
|
if(ao->value.dregister.offset == 0)
|
||||||
|
{
|
||||||
|
printf("%s[%%%s]", sep, name);
|
||||||
|
break;
|
||||||
|
}
|
||||||
printf("%s[%%%s + $0x%lx]", sep, name,
|
printf("%s[%%%s + $0x%lx]", sep, name,
|
||||||
ao->value.dregister.offset);
|
ao->value.dregister.offset);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user