In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: I have changed the compiler so that ENDSUB always generates a RETP (and adjusts __STACKPTR if locals are used). I also found a bug in ENDFUNC, if you use ENDFUNC without a return in the function (you get a warning), but __STACKPTR was not adjusted. So that has been fixed too. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=324027#m324041 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)