The interrupt in the microprocessor is a signal which is generated by external peripherals. The external peripherals (device) send the request to the microprocessor to execute their performance and stop the current task.
After working on the external task, the microprocessor completes the previous task again.
There are five interrupt in the microprocessor which is:- RST 5.5, 6.5, 7.5, INTR, TRAP.