bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Lost and Wondering


From: Nick Clifton
Subject: Re: Fwd: Lost and Wondering
Date: Mon, 21 Jun 2010 10:53:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

Hi Matthew,

Is this the right place for this?

Yes. :-)

The GNU assembler takes the following instruction (for example):

        ldreqsh r9, [sl], #0x3f

and assembles it to:

        0x00da94d0

This is a bug, now fixed.  The current version of GAS assembles it to:

        00da93ff        ldrsheq r9, [sl], #63   ; 0x3f

Please help?  Which is accurate?  Should I trust the assembler,
which is responsible for the actual driving of the processor?
or the documentation which is the Bible of ARM?

In this case always trust ARM's documentation. If there is a discrepancy it is the assembler, or possibly the disassembler, that is to blame.

Cheers
  Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]