[ARM] signed zero

Nathan Sidwell nathan@codesourcery.com
Tue May 24 11:31:00 GMT 2011

On 05/24/11 12:08, Matthew Gretton-Dann wrote:

> Looking at the source code and tests I think I agree with most of the
> times you elide +0.  However, you seem to elide the offset when doing a
> literal load (for instance ldr r0, [pc, #0] is being disassembled as ldr
> r0, [pc]).  In this case I think the offset should be shown, and this is
> also what the ARMARM does (see section A8.6.59 for example).

I think those bits were Maciej's changes, for consistency with displaying the 
same addressing mode with other base registers.  I'm not sure which version of 
the ARM ARM you're looking at -- the one I have (ARM DDI 0100I) doesn't have a 
section A8.


Nathan Sidwell

More information about the Binutils mailing list