summaryrefslogtreecommitdiff
path: root/cpu/interrupts/hardware/execution.txt
blob: 16449949feb5d285948040e87a3ee48a69bb43fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
When a hardware interrupt occurs:
	OPRH gets set to the PR from the previous code running
	OIPH 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 OPRH
	Execution jumps to OIPH