I don't know what's going on here!
Using MPSIM with watch window
I have TIMER1 running, I can observe that TMR1H=218 and TMR1L=8
testa is a word variable.
I execute this operation:
testa = TMR1H
and I see that testa = 218
Then I do this:
testa = TMR1H * 256 + TMR1L
However now testa = 8 instead of 55816
What am I missing?
PS: Sorry for mistyping Darrel's name in post #8, I know a Daryl and it just came out without thinking!
Mike
Bookmarks