1 .set STACKTOP, 0x100000
12 mov 2, r10 -- set Cache Control Word
15 mov STACKTOP, sp -- set stack pointer
16 mov #__tp_TEXT, tp -- set tp register
17 mov #__gp_DATA, gp -- set gp register offset
18 add tp, gp -- set gp register
19 jal _main -- call main function
21 halt -- end of the program