diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-10-15 20:51:15 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-10-15 20:51:15 +0100 |
commit | 92ad493aaec8325637a467903b506ec22c49f485 (patch) | |
tree | 41a20e36bdb2eb46790b4b999167a0e8df582e87 /02.s | |
download | Arm_Programming-92ad493aaec8325637a467903b506ec22c49f485.tar.gz Arm_Programming-92ad493aaec8325637a467903b506ec22c49f485.tar.bz2 Arm_Programming-92ad493aaec8325637a467903b506ec22c49f485.zip |
Initial Commit
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 |