Have skipped some sections related to introduction/basics of CPU, CU, Registers, Interrupt etc. Might post them here sometime later.
Program Interrupt refers to the transfer of program control from a currently running program to another subroutine as a consequence of an external or internal request.
After a program has been interrupted and the service routine has been executed, the processor must return to exactly the same state that it was in, when the interrupt occured.
Types of Interrupts
- External Interrupts
- Internal Interrupts
- Software Interrupts