[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] possible 4.1.2 bug
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] possible 4.1.2 bug |
Date: |
Thu, 29 Mar 2007 06:24:37 +0200 (MET DST) |
John Regehr <address@hidden> wrote:
> I'm not at all sure that the asm is correct (didn't write it) but it
> seems that gcc shouldn't be picking an unusable register in any
> case.
The constraint "r" says: "You are free to pick *any* register." As
your instruction requires an "upper register" (r16 through r31), you
simply need to tell that: make the constraint of the second argument
"d", and it will work.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)