As Simone Zamboni wrote: > > Sorry, my fault. Change the "=r" constraint into "=a".
> Shouldn't be "=d"? ldi instruction requires upper registers from r16 > to r31 but "=a" constrains registers only to r23 (works, but > limited). OK. I only looked at the table, describing "a" as "simple upper registers", and didn't look at the details. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev