What happens in the OS when an interrupt is received?
Sigiloso
When interrupt occurs during the execution of main program, the control is given to the ISR or interrupt handler, this completes the execution and then give back the control to the main program.