Let's say I want to check the value of the TMR1 in a loop in which I'm polling the state of a pin to create some Timeout check.
I read in the datasheet that TMR1L is at address $0E and TMR1H is at $0f..
I guess I can create a WORD variable after making an alias to TMR1L and check the value of the word variable.
Something like:
tmr1value VAR WORD
tmr1value.lowbyte = TMR1L
then read tmr1value
Is this right?
Bookmarks