Andrew, Sami, Dave, Thansk for the help. Works ok now. On to timer interrupts... Geert Andrew Lim wrote: > Geert, > > U need to initialise the stack pointer. > > Add these few lines after ur MAIN. > > ;============================================== > Main: > > ldi Temp, Low(Ramend) > out SPL, Temp > ldi Temp, High(Ramend) > out SPH, Temp > ;============================================== > These 4 lines of code will initialise ur stack pointer. U will be able > to use rcall now.
Message
Re: [AVR-Chat] Newbie rcall question
2004-12-04 by Geert De Pecker