Just a small comment that might help you save some cycles in your ISR routine. Since you are only incrementing a counter, you can use "incfsz" without saving anything else like W or STATUS. See below. >;**************** Interrupt routine >******************; > >ISR > bcf INTCON, INTF ; clear interrupt flag for next time > > incfsz count_lo, f ; increment low counter retfie > Incfsz count_hi,f ; yes, increment high counter retfie retfie ;; Note that you need the last "retfie" doubled at the end just in case count_hi doesn't get reset when it should. --Andrew _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.