In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Hi, Having used only sx18 and sx28 I now try to use rambank0 in the sx48. If I understand the addressing correctly, I must define ;bank0 org $0 bank0 = $ ;so I can use bank bank0 org $10 temp1 ds 1 temp2 ds 1 etc. ;bank1 org $10 bank1 = $ temp3 ds 1 temp4 ds 1 etc. So bank0 variables have identical addresses as bank1 variables then use bank bank0 mov temp1,w ;semi direct addressing What registers are addressed when using IND as in mov w,indf if fsr holds $00 to $0F Are the global registers addressed or rambank0? I assume the global registers are accessed, so rambank0 is not accessible using indirect addressing. Please correct me if any of the above is not correct. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=146454 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)