So, would clearing TMR1L make sure it won't roll over, or do I just make sure I load TMR1H right after it has rolled over, so TMR1L doesn't have time to roll over? BTW, I'm not using interrupts ATM, because I am trying to make just a 1 sec delay function, not increment a clock. On 5/9/05, Chris Emerson wrote: > On Mon, May 09, 2005 at 08:11:03PM +1200, Jinx wrote: > > > > incrementing untouched by s/w and you're reloading the upper > > > > byte at a time when it can't be incrementing, then that contention > > > > corruption shouldn't (can't ?) cause any problems > > > > > > Not quite. Think what happens if TMR1L is at about 0xff when > > > > Well, er, I did say when TMR1H can't be incrementing. That implies > > that you make sure the reload is not during a time when there's the > > possibility of a TMR1L rollover. Which, as you say, would probably > > be early in an ISR or whatever > > Sorry, you're right - I read it too quickly. > > Cheers, > > Chris > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist