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]
Message
Re: [AVR-Chat] why unintialized stack errors?
2007-01-02 by David VanHorn