Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] why unintialized stack errors?

2007-01-02 by David VanHorn

I don't see what chip you're working with, but I only see SPL initted, not
SPH.




>
>    ldi    r30,    RAMEND                    ; initialize stack pointer
>    out    SPL,    r30



What I expect to see, is:

ldi TEMP,low(ramend)
out spl,TEMP
ldi TEMP,high(ramend)
out sph,TEMP


[Non-text portions of this message have been removed]

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.