Tamas Rudnai wrote: > - You may be able to save 1 instruction on each banking using the > BCF/BSF STATUS,RPx on PICs with more than 2 banks but then it reduces > the maintainability of your source code That's why you should use my DBANKIF and related macros once you get past the initial learning stage. They track the bank setting at assembly time and emit the minimum number of instructions to go from the bank you're in to the bank you want to be in. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist