On Wed, 21 Jul 2004, Jan-Benedict Glaw wrote: > > #sde-as test.S -o testtest.S: Assembler messages: > > test.S:9: Error: absolute expression required `li' > > test.S:10: Error: absolute expression required `li' > > > > When I eliminate #define and use just 'li $3, 1' and so on - everything is > > compiled correctly. Where is my problem? > > Assembler sources aren't commonly fed through a preprocessor, so your > assembler just ignores the comments (your defines) and uses "a" and "b" > as-is. However, they would be, based on the file name suffix, which is .S for assembly to be preprocessed or .s for one not to, if fed to the assembler via the gcc driver. Maciej