diff options
Diffstat (limited to 'cpu/interrupts/hardware/execution.txt')
-rw-r--r-- | cpu/interrupts/hardware/execution.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpu/interrupts/hardware/execution.txt b/cpu/interrupts/hardware/execution.txt new file mode 100644 index 0000000..c3cc5f5 --- /dev/null +++ b/cpu/interrupts/hardware/execution.txt @@ -0,0 +1,10 @@ +When a hardware interrut occurs: + OPR gets set to the PR from the previous code running + OIP gets set to the IP from the previous code running + PR is set to all 1s + +The next hardware interrupt will not occur until after the current processing has been finished via `ireth` + +When returning via ireth: + PR is set to OPR + Execution jumps to OIP |