5 questions to test your understanding
A page fault fires while an instruction is partway through execution in a pipelined processor. The OS loads the missing page and returns. What must the processor guarantee for this sequence to work correctly?
When a keyboard interrupt arrives, the processor indexes into the interrupt vector table using the interrupt's type number. What does the table entry at that index contain?
Achieving precise exceptions in a pipelined processor requires flushing partially-completed instructions that followed the faulting instruction and restoring the architectural state to the exact point of the fault.
After an exception handler finishes, the processor generally resumes execution at the instruction immediately following the one that caused the exception.
Why do pipelined processors face a significantly harder problem achieving precise exceptions than single-cycle processors?