> -----Original Message-----
> From: 
> avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org 
> [mailto:avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.
> org] On Behalf Of Matthias Wenzel
> Sent: Wednesday, January 06, 2010 2:01 PM
> To: avr-gcc-list@nongnu.org
> Subject: [avr-gcc-list] avr1 and using the 16bit Z-pointer 
> fails with avr-gcc
> 
> Hi list,
> 
> I have a problem practically using the Z-Pointer on an AVR1 
> core (attiny15)
> 
> I don't know how to load a label address to Z, usually I'd 
> want to do it
> like
> 
> ldi ZL,lo8(label<<1)
> ldi ZH,hi8(label<<1)
> 
> but avr-gcc doesn't like the shift (nor *2) construction. 

What was the exact error message that it gave?


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to