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
m...@inguardians.com
http://www.inguardians.com

PGP Fingerprint: 
87EB 54A8 FB42 0A0E B8AE CDA7 FF99 2A64 E70F 4466
hkp://wwwkeys.pgp.net

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to