Paul Brook <p...@codesourcery.com> writes: >> Here is a problem that '#' is a symbol used in my chip assembler as >> prefix before immediate. Like: MOV R0 #0x123. >> ... >> Is there any solution to solve this? > > Make your assembler accept # as as a comment stat only if it appears at the > start of a line. There are several other targets (e.g. ARM) that already do > this. If you absolutely must use a proprietary assembler then I suggest > writing yourself a wrapper script.
Or use -P. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for something completely different."