1.set noreorder
2.global __syscall
3.hidden __syscall
4.type __syscall,@function
5__syscall:
6 move $2, $4
7 move $4, $5
8 move $5, $6
9 move $6, $7
10 move $7, $8
11 move $8, $9
12 move $9, $10
13 move $10, $11
14 syscall
15 beq $7, $0, 1f
16 nop
17 dsubu $2, $0, $2
181: jr $ra
19 nop
20