??? 01/09/07 12:07 Read: times |
#130483 - The 'C' preprocessor Responding to: ???'s previous message |
Attila Strba said:
SDCC assembler doesn't support defines neither macros. Note that the so-called "C" preprocessor actually neither knows nor cares anything about the syntax of 'C' - it is purely a text substitution & file inclusion processor. Therefore, you can use the "C" preprocessor to pre-process any text file - including assembler source files, if you like. Of course, it's not as powerful as Keil's Assembler macros - but it might help you... I once worked on a project where the Linker script was generated using the 'C' preprocessor. |