Yahoo Groups archive

AVR-Chat

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

Message

mnemonics?

2006-12-21 by Thomas J Keller

I am having a strange problem.  Using the AVR Assembler whic is 
integrated into AVR Studio 4,I am running into problems with register 
identification.

Example:

    mov   r2,   r16      ;  copy status to high register

  This results in multiple "illegal register" errors.    Why?    I am 
including the appropriate .def file for the processor in question at the 
top of my source file.

   No matter what registers I use,they show up as errors.  Lower or 
upper case, high or low registers.  What am I doing wrong, please?

Tom Keller
aka avrFreak on efNet and freenode

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.