In SX Microcontrollers, SX/B Compiler and SX-Key Tool, rcarmel wrote: I'm trying to understand and access BANK 0 on and SX48. This is how I understand it to work, please correct me if I'm wrong. The top 4 bits of FSR are used to select a bank, and the bottom 4 bits of FR with the 5 bit being set will give access to BANK 0. According to the documentation, I should no longer have access the global registers. This seems to be accurate in terms of registers 0A - 0F, however, I'm still able to access the ports RA - RE. Is this correct? Or have I done something wrong? This is the code I'm using. ; Setup bank 0 clr fsr ; mov a value into the first file register mov $10, #$ff ; Move a value in to port E mov RE, #$FF In the debugger I can see the value being moved into port E. The debugger however does not show BANK 0; Is this by design? Difficult to tell if I'm accessing it, however when I read the values back, I can see them pass through W. Thanks for any help Richard Carmel ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=159856 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)