Hi

Thank to the advice.

*************ISR you need to track it down????******************

Below are the basic program:-
Is that what you mean????

' Initialization of TMR0 and TMR1
'
ON INTERRUPT clockpulse
ON INTERRUPT elapsed time

main:
'
'some coding here
'
'
goto main

DISABLE

clockpulse:
'some coding here
'
'
'
'
'
RESUME
DISABLE
elapsed time:
IF tick<16 then
tick = 0
bs = bs + 1
'some coding here
'
'
' reset tmr0 flag
RESUME

END

Please advice thank