diff options
Diffstat (limited to '02.s')
-rw-r--r-- | 02.s | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/02.s b/02.s new file mode 100644 index 0000000..bee9c54 --- /dev/null +++ b/02.s @@ -0,0 +1,18 @@ + B main + +hello DEFB "Hello World\n",0 +bye DEFB "Goodbye Universe\n",0 +name DEFB "My name is Steve Bagley\n",0 + + ALIGN + +main ADR R0, hello + SWI 3 + + ADR R0, name + SWI 3 + + ADR R0, bye + SWI 3 + + SWI 2 |