No the interrupt occurs asynchronously. Therefore, the interrupting device asynchronously interrupts the processor execution causing the processor to perform a context switch to save its current state and switches to an interrupt service routine (a software routine designed to deal with the interrupt). If you are thinking of this in terms of hardware/software ISRs are referred to by their general name of interrupt handlers.How does a processor KNOW that an interrupt has occured ? ( as in , a person pressed a key on the keyboard or whatever) .. Doesn't it have to keep checking a status register or variable ? (polling ?)
by Duane Benson
by Jake Hertz