Commit c61c5454 authored by Benoit Perrot's avatar Benoit Perrot
Browse files

Look for $a0 as argument of exit syscall.

parent 89f70ab6
......@@ -4,6 +4,7 @@ msg:
.text
main:
li $a0, 0
li $v0, 10
syscall
\ No newline at end of file
.text
main:
add $t0, $t1, $t2, $t3, $t4
li $a0, 0
li $v0, 10
syscall
......@@ -22,6 +22,7 @@ main:
li $v0, 4
syscall
li $a0, 0
li $v0, 10
syscall
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment