Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: This assembly oughta be something silly...

2005-06-15 by Dave VanHorn

>
>What I see is that the instruction
>     ld    r16,Z+
>is not retrieving the byte stored there.

This needs to be LPM  (Load Program Memory)
LD is load from ram

Otherwise, what you did before is fine for strings stored in RAM.
Ram is bytes, and is addressed that way.

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.