123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- .set noreorder
- .text
- .globl __start
- .type __start,@function
- .ent __start
- __start:
-
- la gp, _gp
-
- li t0, 0xfffffff8
- and sp, sp, t0
- addiu sp, sp, -16
- sw a1, __argv
- jal main
- nop
-
- move s0, v0
- jal exit
- move a0, s0
-
- jal _exit
- move a0, s0
-
- 1:
- move a0, s0
- li v0, SYS__exit
- syscall
-
- j 1b
- nop
- .end __start
|