In the PICUART.ASM document/source by T. McGahee, there is discussion about clearing GIE by doing like this : goe01 bcf intcon, gie btfsc intcon, gie goto gie01 Se the document for the reason to do this. It has something to do with an interupt occuring *during* the execution of the BCF intruction. I'm not sure this is related to the problem at hand, thought... Jan-Erik Soderholm. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu