summaryrefslogtreecommitdiff
path: root/src/user/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/entry.S')
-rw-r--r--src/user/entry.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/user/entry.S b/src/user/entry.S
new file mode 100644
index 0000000..110ebbf
--- /dev/null
+++ b/src/user/entry.S
@@ -0,0 +1,12 @@
+.section .text
+.global _start
+
+_start:
+ li a0, 0
+ li a1, 0
+
+ call main
+
+ call exit
+
+1: j 1b \ No newline at end of file