Hi, Bryan

I could answer you your " problem" deals with pure assembler ... and this is not here the right place to post it.

I will just tell you some ANs from µchip's site play with those time windows.

My electronics knowledge ( LOL !!! ) tell me to use a HF oscillator, a gated counter ... and read the counter result.

This sounds familiar to me as I read a while ago a datasheet from µchip where it was written " external gated TMR1 " ...

as I am a kind guy ... I remember it was the 16F636 ... but may be this feature exists aboard other PICs.

Counting my answers to your threads, I know one thing : a bit will be enough for that.

Alain

PS : "RTFM " means a little brain work from the author is Welcome. This Forum is not intended to give you " already kooked " solutions... But to try to learn you something ...

The Chinese story of the fisherman ...
or else:
If the finger shows the moon, the idiot looks at the finger ...