In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Peter, SX/B uses the first available 5 bytes in bank zero (__PARAM1-4, __PARAMCNT). It also uses the last available bytes in the last bank to save/restore (__PARAM1-4, __PARAMCNT, and other registers) when an interrupt occurs. If you can use any bank I would suggest the 2nd available bank (SX/B uses bank 0 and the next bank for it's "normal" variables), then you can just declare an array to reserve the space. "CONSWITCH VAR BYTE (10)" just make sure it is the very first array declared. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=174063#m174194 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)