> Thanks Harold :) :) Copy/pasted and it worked fine. > > Eventually was going to get to segregating out the individual bits with > AND/OR sort of action. At this point just am happy the hardware is > working OK. Don't know why what I had doesn't work though, all the PORTB > pins are pulled high, which I verified both with a DMM and logic probe. > Guess, I'll have to dig into the ASM. Sure would seem that the port > reports what it is in reading and the boolean would happen. Oh, I added > two "0" to make the binary 8 bits. Thanks again. :) If you have RB6 and RB7 set as debug pins, there's no telling what state they'll be in. Good luck! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist