im doing some avr assembly coding for interfacing an optical mouse sensor
i 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 >>>> R32
while using R0>>R15 it doesnt recognize it, so im using R16 >>>R32
why is that?
also in the datasheet when examples are provided they are using R16 and not R0
there should be a reason for that? any idea?
another question about avr studio 4
when i press the build button it doesnt build it and it writes (error excuting)
i changed the code and still the same
then i wrote one operation in the code and the same happened