aboutsummaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/foo.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/src/foo.S b/usr/src/foo.S
new file mode 100644
index 0000000..57e82a1
--- /dev/null
+++ b/usr/src/foo.S
@@ -0,0 +1,13 @@
+.global _start
+.text
+
+_start:
+ li a0, 1
+ la a1, foo
+ ecall
+.Loop:
+ j .Loop
+
+.section .rodata
+foo:
+ .string "foo\n"