Why RETI instruction is used after an ISR?
A. because it returns with carry
B. because it returns to the main program with all the flags of the SREG raised
C. because it returns to the main program after clearing the roll over flag of the interrupt, so that the interrupt can be caused again
D. none of the mentioned
Answer:A
Why RETI instruction is used after an ISR?
A. because it returns with carry B. because it returns to the main program with all the flags of the SREG raised C. because it returns to the main program after clearing the roll over flag of the interrupt, so that the interrupt can be caused again D. none of the mentioned
Explanation: RETI instruction is used to make the timer roll over flag to zero, so that the interrupt may be caused again.