PATCH: PR binutils/4430: We aren't consistent on displacement in x86 disassembler

Paul Brook paul@codesourcery.com
Fri Apr 27 13:39:00 GMT 2007


> in 64bit mode, it still displays
>
> 0:   8b 1c 25 00 00 00 80    mov    0xffffffff80000000,%ebx
>
> Should I make it signed like
>
> 0:   8b 1c 25 00 00 00 80    mov    -0x80000000,%ebx
>
> Will it be confusing to people?

The latter would confuse me.
IMHO hex values should always be unsigned.

However this is a 32-bit mov. Why not display it as a 32-bit hex value?

Paul



More information about the Binutils mailing list