Stc microcomputer, T1 timer interrupt, there are two programs in the interrupt, there is a flag bit, according to the identification bit to determine which interrupt program to execute.
T1ZD: JC CX1
JMP CX2
CX1: ...
...
RETI
CX2: ...
...
RETI
The problem is: if one of the two ends of the interrupt program is executed separately, it is normal. If the bit is judged and executed selectively, it will not work normally. Ask God to give advice, thank you
T1ZD: JC CX1
JMP CX2
CX1: ...
...
RETI
CX2: ...
...
RETI
The problem is: if one of the two ends of the interrupt program is executed separately, it is normal. If the bit is judged and executed selectively, it will not work normally. Ask God to give advice, thank you
Comment