12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- .option pic2
- .text
- .align 2
- .globl syscall
- .type syscall,@function
- .ent syscall
- syscall:
- move v0, a0
- move a0, a1
- move a1, a2
- move a2, a3
-
- ld t0,4*8(sp)
- ld t1,5*8(sp)
- ld t2,6*8(sp)
- ld t3,7*8(sp)
- ld t4,8*8(sp)
- ld t5,9*8(sp)
- ld t6,10*8(sp)
- lw t0,4*4(sp)
- lw t1,5*4(sp)
- lw t2,6*4(sp)
- lw t3,7*4(sp)
- lw t4,8*4(sp)
- lw t5,9*4(sp)
- lw t6,10*4(sp)
- syscall
- j ra
|