In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Tony, On the SX28 SX/B uses the global page and the 1st bank for "normal" (non-array) variables. All the other banks are used for arrays. But SX/B will not span banks that is why the largest array is 16 elements (on the SX28). SX/B allocates arrays from lowest memory address to highest memory address. You said "So if I ask the memory manager to allocate 30 bytes for me, then the last byte of this logical array is situated at the topmost memory". By "topmost" do you mean lowest memory address or highest memory address ? As Jon said the TRIS shadow registers are at the highest memory address of the highest bank. If you can manage it, the SX/B on the SX48 allows large arrays. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=94526#m94532 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)