Larry, Ok, Made some changes, I wondered if I should be use .db instead of .EQU=, tried that, same thing. I've been stepping through it, boring or what... But all seems well, except for this line ;- lpm r18, z At this point r18, only contains 0xFF and never changes (though Z does change). Perhaps its a limitation of the Simulator thing? Anyway, I'll try it tonight on an AVR :-) Paul
Message
Re: [AVR-Chat] Reading from flash in Assembly
2004-12-02 by Paul Maddox