summaryrefslogtreecommitdiff
path: root/riscv/exit/main.s
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/exit/main.s')
-rw-r--r--riscv/exit/main.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/riscv/exit/main.s b/riscv/exit/main.s
new file mode 100644
index 0000000..426ea4c
--- /dev/null
+++ b/riscv/exit/main.s
@@ -0,0 +1,5 @@
+.globl _start
+_start:
+ li a0, 10
+ li a1, 20
+ jal exit