> Several people have pointed this out - thank you all. It was meant to check > to make sure that GIE was clear before entering the rest of the routine, but > I mixed up BTFSC and BTFSS. When fixed, it worked fine. I think you missed the point that this whole loop is unnecessary. GIE will be off when the interrupt routine is entered, and will stay off until you set it on again, usually by using a RETFIE instruction at the end of the interrupt handler. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body