aboutsummaryrefslogtreecommitdiff
path: root/usr/src/fizzbuzz.S
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-11-22 15:58:35 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-11-22 16:09:53 +0100
commit573a8c6b490a080cf728cdcb11e5a14ddf50556d (patch)
tree1352f00980494065ff1b2bc14b6f94c3341ea85b /usr/src/fizzbuzz.S
parentdcda5731ecbbce70edeaa7662e9ea0fc190a1943 (diff)
downloadfbos-573a8c6b490a.tar.gz
fbos-573a8c6b490a.zip
usr: Rename foo/bar to fizz/buzz
When creating the user space binaries I forgot about their proper names, which is funny on its own. Anyways, let's get them the name they were intended. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com> alksjdlkajd Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'usr/src/fizzbuzz.S')
-rw-r--r--usr/src/fizzbuzz.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/src/fizzbuzz.S b/usr/src/fizzbuzz.S
new file mode 100644
index 0000000..6974fbd
--- /dev/null
+++ b/usr/src/fizzbuzz.S
@@ -0,0 +1,13 @@
+.global _start
+.text
+
+_start:
+ li a7, 1
+ la a0, fizzbuzz
+ ecall
+.Loop:
+ j .Loop
+
+.section .rodata
+fizzbuzz:
+ .string "fizzbuzz\n"