In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Coriolis wrote: You need to come up with an index to memory mapping function. I have some code for linear addressing the banks I used in stack code, which is a simplified version of what you need. If you start the array at the first cell of a bank, say $10; take the index and divide it by 16, the memory address will be: the base address + integer result of division * 16 + remainder of division ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=89171#m89205 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)