In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Gunther, I believe SxSim does not handle ret and retp correctly in respect to the displayed active line. Single step the attached program and observe stack, PC and PAx whenever there is a call or ret or retp. There are deliberate errors in the listing, that is some ret's must be retp but the point here is that although the PC and PAx are set corectly after a ret (PAx unchanged) or retp (PAx updated) the active line jumps to the correct line as the program was intended but I believe the active line is not at the correct page. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=9&m=53539#m217035 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)