In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: The SX has all the RAM that the help file suggests but you can only access 16 bytes (one bank) plus the global RAM at any given time. What you need to do, then, is move some of your variable definitions into arrays (arrays are automatically assigned to a bank other than the default RAM area [$00 for SX28, $10 for SX48]). Any easy thing would be to move the PWM variables into an array -- this would free up three bytes in the general-purpose RAM area. You might evaluate your temporary vars as well -- do you need that many? Note that by not posting your entire program those that would help you can only make minor suggestions; with the entire listing we may be able to point out other opportunities to save GP RAM space. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=305715#m305744 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)