interrupts
Source: samek-embedded
- Allows processor to abruptly change flow of control
- Upon interrupting:
- A hardware in the processor changes the value of the
PC
(program counter) register - The interrupt service routine (ISR) is executed
- After the ISR ends, the processor resumes execution of the original code
- A hardware in the processor changes the value of the