> For the XORWF, shouldn't you be using XORLW since you are XORing literals > with W rather than registers? That's for sure. Use XORLW instead of XORWF Use BTFSC instead of BTFSS and you should be good to go. But be sure you understand why this as how it should be, or the time we've taken to help you out is mostly wasted. Bob Ammerman RAm Systems -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body