All, Ok, and the final soloution is ;- mov r30, step ldi r31, high(array<<1) add r31, num lpm r18, z out portd, r18 As I'm only using Bytes not Words, I didn't need to left shift the ZL (r30) value. Thanks to everyone for helping :-) Paul
Message
Re: [AVR-Chat] Reading from flash in Assembly
2004-12-03 by Paul Maddox