Hi, Paul
There's also something Doable ( depends on use ...) :
A GOSUB loads an address you can choose in the stack ...
if ending the SUB with a GOTO instead of a RETURN ... This address will stay as the new "return", "retfie" ... address.
That's used with the "RESUME Label" of PbP ...
I do not think "clearing" the stack would be really useful ... as a stack containing zeros will cause the device to reset ONLY its program on the first "return or so" met ...
Alain
Last edited by Acetronics2; - 9th February 2008 at 17:12.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks