??? 11/15/06 16:17 Read: times |
#128031 - Timer0 Interupt question.... |
Simple question that escapes me. I currently have timer0 setup as a counter (external counts on T0 pin) and also setup so that when the counter overflows it jumps to vector 000Bh to increment an upper word register to make a 32bit counter. All of this works perfectly ! Now what I would like to do is every time the T0 is activated, I would like to check the status of a bit and turn it on if it is off. The only problem I am having is I cannot find the vector address for Timer0 so that I can add the code to check that bit every time the T0 pin is activated on the processor.
Can this be done this way ? I am using a Dallas 80C320, and am programming in assembler. Thank you to all, Dave |
Topic | Author | Date |
Timer0 Interupt question.... | 01/01/70 00:00 | |
Use INT0 or INT1 ??? | 01/01/70 00:00 | |
or still T0 | 01/01/70 00:00 | |
in some places 0x0b is called the vector for the t | 01/01/70 00:00 | |
Overflow only? | 01/01/70 00:00 | |
no, just on overflow | 01/01/70 00:00 | |
Reading between the lines ... | 01/01/70 00:00 | |
Okay, I feel better | 01/01/70 00:00 | |
if the OP had clarified and one case had been![]() | 01/01/70 00:00 | |
cutting through | 01/01/70 00:00 |