When the processor is servicing the interrupt program, the first thing it does is to disable interrupts (this is automatic and it is done by the processor).
When you finish the interrupt and execute the "RETI" instruction (return from interrupt), this instruction automatically will return from interrupt and also it will reenable the interrupts (wich were disabled by the processor when it started executing this intrerrupt). |