i used INTX0 for intering to the MENU of my program and need to back to a address, labled in my main program. so i need to change the contain of the memory that SP is pointed at. how can i do it in C . i chaned the SP to the address that point to 0x0000 and expected to be reset but it didnot.
The simplest design is a main loop in which all main events are checked and the actions are dispatched. This is simple yet very powerful
8) AT THE ENTRY to each and every routine called from the workloop do a SIMPLE test (do I have anything to do) and, if not, get out of Dodge.
Erik