Larry, > Which chip are you using? lpm Rx, Z is only supported on newer mega chips. Soprry, should've said, its a Mega16. > If the right address is in Z and the chip supports the instruction, then if > you are only getting 0xFF is because there is no data at that location. Looks like I should be shifting the address left once before using it for some reason (thanks John/Richard/Beaver) I'll give that a go, though I don't understand quite why. Paul
Message
Re: [AVR-Chat] Reading from flash in Assembly
2004-12-03 by Paul Maddox