[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Lost and Wondering
From: |
Matthew Carpenter |
Subject: |
Re: Fwd: Lost and Wondering |
Date: |
Mon, 21 Jun 2010 10:56:32 -0400 |
User-agent: |
KMail/1.13.2 (Linux/2.6.32-22-generic; KDE/4.4.2; x86_64; ; ) |
Thank you, Nick. Much appreciated. Does the assembler allow for both ldrsheq
and ldreqsh? (the latter version is what the ARM docs indicate).
When will I be able to get a canned version of the updated tool-chain?
Thanks,
Matt
On Monday, June 21, 2010 05:53:21 am Nick Clifton wrote:
> 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
>
>
>
--
Matthew Carpenter
address@hidden
http://www.inguardians.com
PGP Fingerprint:
87EB 54A8 FB42 0A0E B8AE CDA7 FF99 2A64 E70F 4466
hkp://wwwkeys.pgp.net