> 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/
Message
Re: [AVR-Chat] Reading from flash in Assembly
2004-12-02 by Richard Reeves