New answers tagged

0

As described on http://www.nongnu.org/avr-libc/user-manual/assembler.html one should NOT be using avr-as directly but use avr-gcc instead. E.g: avr-gcc -mmcu=atmega8 -x assembler-with-cpp example.s See Note [2] of the example program on the page to see how to assign symbolic name to register.


Top 50 recent answers are included