--- In AVR-Chat@yahoogroups.com, John Samperi <samperi@...> wrote: > Also the address need to be multiplied by 2 The pm() operator is useful for that purpose: ldi r30, lo8(pm(LABEL)) ldi r31, hi8(pm(LABEL)) Or, if you use the macro that I posted earlier: ldiZ pm(LABEL) Don Kinzer ZBasic Microcontrollers http://www.zbasic.net
Message
Re: problems
2008-03-23 by Don Kinzer