Instruction cycle without interrupt
Answers
Answer:
A normal instruction that does not generate an exception itself such as a page fault is allowed to complete before an interrupt is allowed to happen. If the instruction itself generates a fault such as divide by zero or a memory access violation such as a null pointer or access to memory that is not allowed then the o.s. will typically log and/or display error msg and terminate the program. If it was a page fault then the ISR for that error will attempt to bring the missing page of memory in from secondary storage (disk) and restart the faulting instruction.
There is no difference during the instruction cycle. The instruction is allowed to complete, and then the Interrupt Request Flag is checked to see if an interrupt should be allowed. If so, normal interrupt processing takes place.