Pregunta de entrevista de Canoo

Explain what happens when an interrupt occurs.

Respuesta de la entrevista

Anónimo

31 may 2021

- The current contents of registers are placed on the stack. - The current program address is placed on the stack. - The Interrupt Vector Table is checked to determine the source of the interrupt, and which Interrupt Service Routine it should go to. - At the end of the ISR, the interrupt flag must be cleared for normal operation to continue.

1