> I am using a PIC 16C57 and I am looking for an elegant way to >handle page switching. I am using a software stack as well and the two >(page switching and s/w stack) are proving to be somewhat tedious. The file "demo.zip" which can be found most places that "aspic.zip" is found, has a set of macros to aid in bank management. These are in PICMACRO.ASM. While the version of the macros in this file may not have been fully tested in a '57 design (the pocket logic analyzer that it is the source code for was a 16c71 design), I use these macros in all of my PIC designs including '57. They are (of course) written for ASPIC, but they should give you some clues. Beware that ASPIC performs some functions to aid in bank tracking, although fully automatic bank management is only perfomed with 16cXX core parts as there are side effects when bank switching on 5X parts. >I am using the Parallax assembler so I don't have macro capability. > Does anyone know of an elegant way to make the paging transparent? I will resist being so bold and/or self-serving as to suggest a solution to this delema.