Paul, Corrected a few things, heres the corrected version MOV r30,step //this one 0-255? MOV r31,num //this one 0-15? SUBI r31,HIGH(-array) LPM r18,Z OUT PORTD,r18 As far as I can see, this is the shortest I can get it. Whilst Im on the subject, Is there any way of skipping if minus? I can do a BRMI, just wondered Paul
Message
Re: [AVR-Chat] Reading from flash in Assembly
2004-12-02 by Paul Maddox