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 Richard Reeves

> nope, same thing..
> Could it be the simulator doesn't work properly?
You need to multiply the base address by two.

My usual way is:
	ldi,	zl,	low(base_addy*2)
	ldi,	zh,	high(base_addy*2)
	add		...etc.


Richard
---
"Iz dana u dan ona dolazi i odlazi u talasima"
   http://www.van-gogh.co.yu/

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.