In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: SX/B defaults to bank zero for simple variables and control structures that use variable should use globals (not arrays). You could of course rewrite the GET_SIRCS code in assembly; this would give you the power to use variables in BANKs 1 and higher. You're probably wondering why other commands seem to tolerate output to an array element; the reason is that, internally, SX/B uses globals (__PARAM1 - __PARAM4) and then transfers to your desired [array] variable. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=202575#m202609 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)