In SX Microcontrollers, SX/B Compiler and SX-Key Tool, electronic wrote: Hi Gunther, Peter (pjv) and the group Many thanks for your information on jumping to the end of program memory in a crude attempt to reset the SX. Your hardware "tunnel" solution (MCLR wired to a port pin) looks very interesting for many applications. I have now tried the secret stack instructions popPC/pushPC ($04F/$04B) in an attempt to force a return from interrupt to my required program entry point instead of the interrupted program location. Unfortunately my experiments show this does not work because the PC interrupt stack is different from the PC subroutine stack; the secret instructions popPC/pushPC ($04F/$04B) operate on the PC subroutine stack. Does anybody know secret instructions that modify the single layer PC interrupt stack ? Best regards electronic ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=162350#m163154 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)