At 06:00 PM 12/3/2004, sami saqqa wrote: >i have this befor >you must intilaized the stak pointer 1st >for examble > >.org 0x0a > ser temp > out SPL,temp > out SPH,temp > >if the AVR have more than 8-bit stak pointer More correctly: ldi temp,low(Ramend) out SPL,TEMP ldi temp,high(Ramend) out SPH,TEMP You still need to load SPL on machines with 8 bit stack pointer. You don't HAVE to point SP to the end of ram, but it's the most conventional place.
Message
Re: [AVR-Chat] Newbie rcall question
2004-12-03 by Dave VanHorn