This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

returning to different address form interrupt with c routine

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.

Parents
  • 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

Reply
  • 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

Children
No data