I'm running AVR-GCC under Mac OSX and I get a couple of weird errors I can't explain. Anybody know what it is? The line of code is (initial numbers are linrnr's):
80 ldi tempval, 0x00
The 'tempval' is defined with the following line:
60 #define tempval r16
The error messages I get is:
CL.S:80: Error: `,' required CL.S:80: Warning: expression possibly out of 8-bit range CL.S:80: Error: garbage at end of line
avr-gcc -c -g -Os -Wall -Wstrics-prototypes -Wa,-ahlms=CL.lst -mmcu=at90s1200 CL.S -o
Also, it'd be great if anybody knew where to find the reference manual for the asm-commands under AVR-GCC/AVR-AS, my searches hasn't had a positive outcome. Any help appreciated!!