I've got some free time so I'm playing with the assembler. I want to write an assembly function that will read the ADC and return the value. The first thing I want to do is save the contents of the PRR so that I can restore it to where it was on exit. The mov instruction only seems to like "real" registers and the command mov r17,PRR does not work. I haven't found the right way to do this. Can anyone offer a suggestion? Thanks.
Message
Saving PRR in assembler
2013-02-27 by Philippe Habib