z***l 发帖数: 256 | 1 读《Linux Kernel Primer》,上面写exceptions typicall happen after an
intruction's exectuion, and interrupt can happen in between instructions。
这里我不太清楚after an intruction's exectuion 和between instructions的差别。
难道是指的exceptions 是一个在取指令周期,取数据周期和执行周期都完成之后发生
,而interrupt 可以在这些周期之间发生?
请教高手,谢谢! | j**********p 发帖数: 22 | 2 Probably it should have said this, exceptions are typically generated by
instructions, while interrupts are irrelevant to instructions, which could
be after or in between instructions.
【在 z***l 的大作中提到】 : 读《Linux Kernel Primer》,上面写exceptions typicall happen after an : intruction's exectuion, and interrupt can happen in between instructions。 : 这里我不太清楚after an intruction's exectuion 和between instructions的差别。 : 难道是指的exceptions 是一个在取指令周期,取数据周期和执行周期都完成之后发生 : ,而interrupt 可以在这些周期之间发生? : 请教高手,谢谢!
| i*****r 发帖数: 265 | 3 Interrupts are called asynchronous exception, which are generated by
hardware devices. Exception is generated by CPU (instructions) after the
termination of instruction (typically). |
|