Alan B. Pearce wrote: > Umm, yes, that is why a bit operation on a Port register can have > weird side effects on other bits. The whole byte is read, the bit > checked, and then the whole byte is written back. Really? I didn't think there was a write back for BTFSx. I also don't remember hearing or of bumping into a BTFSx problem on port bits, which I thought was because there is no write back. ******************************************************************** 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