public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
To: Nathan Sidwell <nathan@codesourcery.com>
Cc: binutils <binutils@sourceware.org>,
	"Maciej W. Rozycki"	 <macro@codesourcery.com>
Subject: Re: [ARM] signed zero
Date: Tue, 24 May 2011 12:33:00 -0000	[thread overview]
Message-ID: <1306240384.26001.2.camel@e102319-lin.cambridge.arm.com> (raw)
In-Reply-To: <4DDB96F4.4030705@codesourcery.com>

On Tue, 2011-05-24 at 12:31 +0100, Nathan Sidwell wrote:
> 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.

I'm looking at the v7-AR ARMARM (ARM DDI 0406B) - this is available on
the ARM documentation website (http://infocenter.arm.com/).

Thanks,

Matt

-- 
Matthew Gretton-Dann
Principal Engineer - PDSW Tools
ARM Ltd


  reply	other threads:[~2011-05-24 12:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 14:05 Nathan Sidwell
2011-05-24 11:09 ` Matthew Gretton-Dann
2011-05-24 11:31   ` Nathan Sidwell
2011-05-24 12:33     ` Matthew Gretton-Dann [this message]
2011-05-24 13:32       ` Maciej W. Rozycki
2011-06-02 15:18 ` Nick Clifton
2011-06-02 15:33   ` Nathan Sidwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1306240384.26001.2.camel@e102319-lin.cambridge.arm.com \
    --to=matthew.gretton-dann@arm.com \
    --cc=binutils@sourceware.org \
    --cc=macro@codesourcery.com \
    --cc=nathan@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).