> BANKSEL > We have not gone over that command in the class yet It will definitely help you to start using it now. I'm surprised it hasn't been mentioned to you already, because you'd expect to use it when initialising the chip eg BANKSEL PORTA, BANKSEL TRISA etc Apart from looking tidier (and quicker to type), BANKSEL greatly reduces the chance of errors. You don't need to look up what bank the register is in and won't make a typo using multiple STATUS,RPx commands. And there are other relevant bits in STATUS as well as RP0 and RP1. There can be also RP2 and RP3, so you might end up in bank2 or bank3. There's also IRP Code has been posted here in the past with many STATUS bit-setting commands. It's untidy, hard and tedious to read and frequently had typos which were causing the poster's problem because the wrong bank was selected I've used RPx explicitly only once. That was a very tight parallel data transfer loop between two PICs when the direction had to be changed faster than BANKSEL did it wbr -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist