Valeo Interview Question

What happens when an interrupt occurs?

Interview Answer

Anonymous

Aug 24, 2015

1. The instruction that is being performed is completed. 2. PC, Status Register, and Linker Register are PUSHED into the STACK. 3. The ISR is executed. 4. To terminate the ISR, a RETI is executed in which all the values that have been pushed into the stack are POPED back.

5