In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: SX/B on an SX28: Registers $0D-$0F -- 3 bytes of true "global" user ram Registers $10-$1F -- 16 bytes of "normal" variable space Registers $30-$3F, $50-$5F, $70-$7F, $90-$9F, $B0-$BF, $D0-$DF = 6 x 16 bytes = 96 bytes array/bank RAM Registers $F0-$F4 = 5 bytes (array) Registers $FD-$FF = 3 bytes (array) SX/B 2.0 uses one more variable in the INTPARAMFSR stack (for PARAM5/PARAMCNT save/restore), and aligns bytes in $Fx slightly differently. __INTPARAMFSR stack (5 bytes SX/B 1.x, 6 bytes SX/B 2.0) = can be claimed if you have NOPRESERVE on and know what you're doing __PARAM1-__PARAM5/__PARAMCNT = 5 bytes of global ram can be used in all sorts of ways, but make sure use doesn't conflict with high level SX/B commands On the SX48 in addition to the extra 16 byte banks, 2 more globals are used and $FD-$FF are shadow TRIS registers. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=290434#m290523 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)