Rikard Bosnjakovic wrote: > You will waste some cycles when Timer0 triggers but in case you cannot > disable T0IE this could be a solution. I admittedly didn't read your post in detail, but this bit jumped out as superstition-based programming. Why would you think or even imagine that one couldn't disable T0IE? That makes no sense. BCF INTCON,T0IE will absolutely positively disable T0IE. Read the manual instead of waving dead fish. Note however that T0IE has nothing to do with T0IF getting set when timer 0 wraps. It only controls whether a interrupt is generated for that reason. ******************************************************************** 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