In SX Microcontrollers, SX/B Compiler and SX-Key Tool, rodneymc wrote: Zoot, Peter, Thank you for your responses as well, and sorry for the delayed response! Yes, it was from some of Jon's N&V columns (good detective work Zoot!) - the source code is from 2005, so it could have been simply the SX/B compiler differences between now an then. I recompiled the unmodified original code (attached), and var's were at the same address as above. It's really no biggie, I should have been wiser, as I've witnessed this in my own code. Bottom line is that the issue has been resolved and I'm happy, so I'm not going to dwell on why and just keep moving forward. I think there's some new statements from what I remember in SX/B 2.0 that I can force varaibles to certain banks, keep what I have ,or use Gunther's code. So I guess my question, is there a common practice that you guys use to catch 'bank' issues within ASM, or it's just a matter of diving deep? Many thanks! PS - boy, I was quite surprised that this was still at the top of the forum after a couple of days! I appreciate you guys still participaing and helping! ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=421700#m422581 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2010 (http://www.dotNetBB.com)