Shop OBEX P1 Docs P2 Docs Learn Events
SX/B vars and ASM bank instruction on SX48/52 — Parallax Forums

SX/B vars and ASM bank instruction on SX48/52

ZootZoot Posts: 2,227
edited 2007-11-22 00:04 in General Discussion
I purchased an SX/48/52 protoboard that I'm going to play around with over the long holiday weekend... when using SX/B on the 48/52, will operations on variables automatically set FSR.7?

When using ASM within SX/B on the same device, should I presume I will need to use the common _bank macro to set FSR.7 for me? I ususally use ASM in my ISRs and SX/B in the mainline program.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST

Comments

  • BeanBean Posts: 8,129
    edited 2007-11-22 00:04
    Yes, SX/B will set FSR.7 as needed.

    Yes, if you in assembly. In SX/B just use "BANK" with no parameter to restore the default bank.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.iElectronicDesigns.com

    ·
Sign In or Register to comment.