Interrupts, Instruction Pointer, and Instruction Queue in 8086

后端 未结 2 514
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-11 09:39

Suppose an external interrupt request is made to 8086. Processor will handle the interrupt after completing the current instruction being executed (if any). Before handling

2条回答
  •  被撕碎了的回忆
    2020-12-11 09:58

    • When an interrupt or trap occurs, the CPU synchronizes with the cache by stalling until all pending cache operations are either complete or preempted.
    • If a cache load was already in progress it completes, but other operations waiting in the queue are preempted.
    • The queue is stored as part of the cache internal state so when the context is restored the preempted operations are re-queued.

提交回复
热议问题