In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: Ahhh... [code] BANK motorLeft MOV ticks, __PARAM1 BANK motorRight MOV ticks, __PARAM2 CALL @__CHECK_MD22 ; returns default bank [/code] Generates the warning... from SASM. That said, I've done a bit of tricky aliasing so I can use the registers in SX/B the way I want and in ASM the way I want. I posted code here if you are curious... [url=http://forums.parallax.com/forums/default.aspx?f=27&m=288014]http://forums.parallax.com/forums/default.aspx?f=27&m=288014[/url] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=287985#m288015 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)