diff options
author | Freya Murphy <freya@freyacat.org> | 2024-09-30 18:52:15 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-09-30 18:52:15 -0400 |
commit | 96c67f2e714bcce21abf471abb6cad3a7a758e76 (patch) | |
tree | 5e62ac05ee14923a9dfe61d3e5df701fa96932db /lib/runtime.asm | |
parent | set padding to zero instead of undefined data (diff) | |
download | mips-96c67f2e714bcce21abf471abb6cad3a7a758e76.tar.gz mips-96c67f2e714bcce21abf471abb6cad3a7a758e76.tar.bz2 mips-96c67f2e714bcce21abf471abb6cad3a7a758e76.zip |
update runtime to return exit code from main
Diffstat (limited to '')
-rw-r--r-- | lib/runtime.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/runtime.asm b/lib/runtime.asm index 8e4034b..974fbe1 100644 --- a/lib/runtime.asm +++ b/lib/runtime.asm @@ -25,6 +25,6 @@ _start: jal main # exit - move $a0, $v0 - li $v0, 1 + move $a0, $v0 + li $v0, 60 syscall |