summaryrefslogtreecommitdiff
path: root/cpu/instructions/execution_control
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/instructions/execution_control')
-rw-r--r--cpu/instructions/execution_control/iretde.txt14
-rw-r--r--cpu/instructions/execution_control/irete.txt14
-rw-r--r--cpu/instructions/execution_control/ireth.txt14
3 files changed, 42 insertions, 0 deletions
diff --git a/cpu/instructions/execution_control/iretde.txt b/cpu/instructions/execution_control/iretde.txt
new file mode 100644
index 0000000..9e13fa5
--- /dev/null
+++ b/cpu/instructions/execution_control/iretde.txt
@@ -0,0 +1,14 @@
+Number of parameters: 0
+
+Usage:
+ iretde
+
+Effect:
+ ../../exceptions/execution.txt
+
+ IP is set to OIPDE
+ PR is set to OPRDE
+ Will be considered to be in the previous exception handler
+
+Exceptions:
+ `Invalid operation` if not currently executing a double excetion handler
diff --git a/cpu/instructions/execution_control/irete.txt b/cpu/instructions/execution_control/irete.txt
new file mode 100644
index 0000000..273ea59
--- /dev/null
+++ b/cpu/instructions/execution_control/irete.txt
@@ -0,0 +1,14 @@
+Number of parameters: 0
+
+Usage:
+ irete
+
+Effect:
+ ../../exceptions/execution.txt
+
+ IP is set to OIPE
+ PR is set to OPRE
+ No longer considered to be in an exception handler
+
+Exceptions:
+ `Invalid operation` if not currently executing an excetion handler
diff --git a/cpu/instructions/execution_control/ireth.txt b/cpu/instructions/execution_control/ireth.txt
new file mode 100644
index 0000000..54c92c8
--- /dev/null
+++ b/cpu/instructions/execution_control/ireth.txt
@@ -0,0 +1,14 @@
+Number of parameters: 0
+
+Usage:
+ ireth
+
+Effect:
+ ../../interrupts/execution.txt
+
+ IP is set to OIPH
+ PR is set to OPRH
+ Hardware interrupts are allowed again
+
+Exceptions:
+ `Invalid operation` if not currently executing a hardware interrupt