Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Saving PRR in assembler

2013-02-27 by Philippe Habib

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.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.