> Attached find a Christmas present to the PICLIST. These are a set of macros > I use to ensure correct banking bits. They are a bit cumbersome to use, but > they do help catch errors. In this same, spirit I've made my own macros for handling bank switching and lots of other stuff public. My "standard" macros come in two include files, which are probably too large to attach to this message. I've set up a web site at http://www.embedinc.com/pic to eventually make most of my PIC development environment available to everyone. This will include some general utility subroutines, template project modules, and custom build tools including an MPASM preprocessor. For now only the two base include files are available. These contain support for general "registers", a software stack, wrapper macros for skipping on various conditions, multi-byte data manipulation, idiot proof UART baud rate setup, bank and page switching, subroutine linkage and declaration, and a few other miscellaneous tidbits. I will send a message to this list as new chunks are added to the site. ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu