Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Reading from flash in Assembly

2004-12-02 by Paul Maddox

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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.