summaryrefslogtreecommitdiff
path: root/cpu/instructions/transfer/exchange.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/instructions/transfer/exchange.txt')
-rw-r--r--cpu/instructions/transfer/exchange.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpu/instructions/transfer/exchange.txt b/cpu/instructions/transfer/exchange.txt
new file mode 100644
index 0000000..de55413
--- /dev/null
+++ b/cpu/instructions/transfer/exchange.txt
@@ -0,0 +1,10 @@
+Number of parameters: 2
+
+Usage:
+ exchange <value0> <value1>
+
+Effect:
+ Atomically (from a multi-cpu perspective) sets <value0> to <value1>, and <value1> to <value0>
+
+Exceptions:
+ None