update runtime to return exit code from main

This commit is contained in:
Freya Murphy 2024-09-30 18:52:15 -04:00
parent 2ddf83770c
commit 96c67f2e71
Signed by: freya
GPG key ID: 744AB800E383AE52

View file

@ -25,6 +25,6 @@ _start:
jal main
# exit
move $a0, $v0
li $v0, 1
move $a0, $v0
li $v0, 60
syscall