Author
Topic: AVR assembly question (Read 1939 times)

im doing some avr assembly coding for interfacing an optical mouse sensori chose assembly simply because i want to know whats going on every single cycle.in the atmega8 datasheet it says you can use the R registers , R0 >>>> R32while using R0>>R15 it doesnt recognize it, so im using R16 >>>R32why is that?also in the datasheet when examples are provided they are using R16 and not R0there should be a reason for that? any idea?

another question about avr studio 4when i press the build button it doesnt build it and it writes (error excuting)i changed the code and still the samethen i wrote one operation in the code and the same happened