Matthias Wenzel <avr-...@mazzoo.de> wrote: > 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) ldi ZL, lo8(pm(label)) ldi ZH, hi8(pm(label)) (lo8, hi8, and pm are operators, so the paren's are not strictly required.) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list