At 03:11 PM 2/25/03 +1000, Richards, Justin P wrote: >Hello, > >I using the following snippet of code to increment the File(register) >pointed to by FSR in a TMR0 interrupt. >(FSR gets incremented in another section of code in a change on PortB >interrupt.) > >The first snippet works, and the second was my original code. To me the >code should be identical in result. What is the TMR0 prescale setting? I'm also assuming that TMR0 is set for internal clock. dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 19 years of Engineering Innovation (1984 - 2003) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu