summary refs log tree commit diff
path: root/pc-thing/code/hi.a
diff options
context:
space:
mode:
Diffstat (limited to 'pc-thing/code/hi.a')
-rw-r--r--pc-thing/code/hi.a11
1 files changed, 11 insertions, 0 deletions
diff --git a/pc-thing/code/hi.a b/pc-thing/code/hi.a
new file mode 100644
index 0000000..62b1db8
--- /dev/null
+++ b/pc-thing/code/hi.a
@@ -0,0 +1,11 @@
+start:
+    mov a 1
+    mov b 1
+    mov c [helloworld]
+    sys
+    halt
+
+helloworld:
+.str "Hello, World!"
+.hex 0xA
+.hex 0
\ No newline at end of file