In SX Microcontrollers, SX/B Compiler and SX-Key Tool, dog8spam wrote: Is there a way to read the top of the stack so a subroutine can know where it was called from? I would prefer this over setting some bits in my mishmash variable (slower, makes uglier code). Thanks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=94157 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)