> 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. Paul