In message <20120602101555.GH4665@chiark.greenend.org.uk>
Theo Markettos <theo@markettos.org.uk> wrote:
> If I assemble this with asasm, it doesn't like the conditional compilation:
>
> *asasm -aof -o o.Selection s.Selection
> hdr.Text2:2:10: Fatal error: Illegal expression
> called from line 4 from file s.Selection
> [ :LNOT :DEF: BCM2835_Hdr
> ----------^
>
> Yet objasm is fine:
>
> *objasm -o o.Selection s.Selection
> ARM AOF Macro Assembler 3.32 (Acorn Computers Ltd) [10 Feb 2005]
> *
>
> Any ideas what might be going wrong?
Yes, in Acorn/objasm and ARM Ltd's assembler documentation, only ":LNOT:"
(with 2nd column) is mentioned, not ":LNOT". I know ":LNOT" gets accepted
by objasm and to me it looks like a bug and decided not implement this.
There were several similar instances in Castle's RO sources which all got
corrected when AsAsm was tested.
John.
--
John Tytgat, in his comfy chair at home BASS
John.Tytgat@aaug.net ARM powered, RISC OS driven
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment