summary refs log tree commit diff
path: root/03.s
diff options
context:
space:
mode:
Diffstat (limited to '03.s')
-rw-r--r--03.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/03.s b/03.s
new file mode 100644
index 0000000..61f6c88
--- /dev/null
+++ b/03.s
@@ -0,0 +1,12 @@
+    B main
+
+hello DEFB "Hello World\n",0
+bye   DEFB "Goodbye Universe\n",0
+
+    ALIGN
+main ADR R0, hello
+     SWI 3
+     ADR R0, bye
+     SWI 3
+
+     B main