>If the prescaler is used, never to do any writes to TMR0 if you wish to >preserve the accuracy of continuous timing(I'm thinking propeller clock >here, of course), just let the timer free run and keep track of your count >elsewhere. > >If you are not using the prescaler, use the add-to-TMR0 method(which is >when you'd most likely need it anyway, since you'd certainly miss some >counts, and not a predictable number of them, since interrupt response time >varies)? Bob, I prefer to do something like the following: MainLoop movf TriggerPoint,W xorwf TMR0,W btfss Z goto NoMatch Match ... process the timer match condition movlw TimerIncrement addwf TriggerPoint,F goto MeetAgain NoMatch ... do whatever if they don't match MeetAgain ... whatever Hope that helps a little. Andy ================================================================== Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865 Hardware & Software for Industry & R/C Hobbies "Go fast, turn right, and keep the wet side down!" ==================================================================