summaryrefslogtreecommitdiff
path: root/cpu/instructions/transfer/pop.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/instructions/transfer/pop.txt')
-rw-r--r--cpu/instructions/transfer/pop.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpu/instructions/transfer/pop.txt b/cpu/instructions/transfer/pop.txt
new file mode 100644
index 0000000..e895022
--- /dev/null
+++ b/cpu/instructions/transfer/pop.txt
@@ -0,0 +1,11 @@
+Number of parameters: 1
+
+Usage:
+ pop <output>
+
+Effect:
+ Sets <output> to [SP], then increments SP by sizeof <output>
+ See ./push_pop_notes.txt
+
+Exceptions:
+ Stack error if [SP] is not readable