diff options
Diffstat (limited to 'usr')
| -rw-r--r-- | usr/src/bar.S | 13 | ||||
| -rw-r--r-- | usr/src/foobar.S | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/usr/src/bar.S b/usr/src/bar.S new file mode 100644 index 0000000..09c68e3 --- /dev/null +++ b/usr/src/bar.S @@ -0,0 +1,13 @@ +.global _start +.text + +_start: + li a0, 1 + la a1, bar + ecall +.Loop: + j .Loop + +.section .rodata +bar: + .string "bar\n" diff --git a/usr/src/foobar.S b/usr/src/foobar.S new file mode 100644 index 0000000..49c9e1d --- /dev/null +++ b/usr/src/foobar.S @@ -0,0 +1,13 @@ +.global _start +.text + +_start: + li a0, 1 + la a1, foobar + ecall +.Loop: + j .Loop + +.section .rodata +foobar: + .string "foobar\n" |
