summaryrefslogtreecommitdiff
path: root/cpu/interrupts/execution.txt
blob: dcff30eb36e283b307656fe669f010d0eb9b9442 (plain)
1
2
3
4
5
6
7
8
9
10
When an interrupt occurs:
	OPRI gets set to the PR from the previous code running
	OIPI gets set to the IP from the previous code running
	PR is set to all 1s

The next interrupt will not occur until after the current processing has been finished via `ireth`

When returning via ireth:
	PR is set to OPRI
	Execution jumps to OIPI