Re: symbol "#" generated by CPP(c preprocessor)

2009-10-13 Thread Andreas Schwab
Paul Brook 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

Re: symbol "#" generated by CPP(c preprocessor)

2009-10-13 Thread Paul Brook
> 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. A