I'm writing some SX code and one goal is to make it cross-compatible between the SX 28 and 48. I.e. I want to compile/run SXB & ASM on both processors with no changes or a few predictable ones (e.g. easily conditional-compiled). I am aware of some of the obvious stuff like:
1. different Device statement parameters
2. use only the first 8 banks of RAM, 3-level stack, 1st 3 ports (i.e. things easily visible on block diagram)
But I suspect there may be some more subtle issues. E.g. it appears that indirect access to RAM Bank 0 via the $00 INDF register is possible on the SX28 but not the SX48. I have already searched the forum via both the forum and Google searches using keyword sets such as:
sx 28 48 compatible
sx cross compatible
I did not notice any significant results. Is anyone aware of any threads that address this, any better keyword sets, or have any compatibility tips of their own? Thanks!