summary refs log tree commit diff
path: root/pc-thing/code/sub1.a
diff options
context:
space:
mode:
Diffstat (limited to 'pc-thing/code/sub1.a')
-rw-r--r--pc-thing/code/sub1.a6
1 files changed, 6 insertions, 0 deletions
diff --git a/pc-thing/code/sub1.a b/pc-thing/code/sub1.a
new file mode 100644
index 0000000..e84f782
--- /dev/null
+++ b/pc-thing/code/sub1.a
@@ -0,0 +1,6 @@
+do_the_thing:
+    ld a 0
+    mov b 1
+    sub
+    str c 0
+    ret
\ No newline at end of file