summary refs log tree commit diff
path: root/04.s
diff options
context:
space:
mode:
Diffstat (limited to '04.s')
-rw-r--r--04.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/04.s b/04.s
new file mode 100644
index 0000000..c942d1b
--- /dev/null
+++ b/04.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
+  submain     ADR R0, bye
+       SWI 3
+ 
+       B submain