summaryrefslogtreecommitdiff
path: root/riscv/exit/exit.s
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/exit/exit.s')
-rw-r--r--riscv/exit/exit.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/riscv/exit/exit.s b/riscv/exit/exit.s
new file mode 100644
index 0000000..5e55de5
--- /dev/null
+++ b/riscv/exit/exit.s
@@ -0,0 +1,5 @@
+.globl exit
+exit:
+ li a0, 24
+ li a7, 93
+ ecall