update runtime to return exit code from main
This commit is contained in:
parent
2ddf83770c
commit
96c67f2e71
1 changed files with 2 additions and 2 deletions
|
@ -25,6 +25,6 @@ _start:
|
||||||
jal main
|
jal main
|
||||||
|
|
||||||
# exit
|
# exit
|
||||||
move $a0, $v0
|
move $a0, $v0
|
||||||
li $v0, 1
|
li $v0, 60
|
||||||
syscall
|
syscall
|
||||||
|
|
Loading…
Reference in a new issue