Commit | Line | Data |
---|---|---|
17a6716a RS |
1 | .section .rodata.str1.4,"aMS", @progbits, 1 |
2 | .macro fillstr char | |
3 | .rept 0x3fff - \char | |
4 | .byte \char | |
5 | .endr | |
6 | .byte 0 | |
7 | .endm | |
8 | fillstr 'a' | |
9 | fillstr 'h' | |
10 | fillstr 'c' | |
11 | fillstr 'd' | |
12 | fillstr 'g' | |
13 | fillstr 'f' | |
14 | g: | |
15 | fillstr 'g' | |
16 | fillstr 'h' | |
17 | ||
18 | .text | |
19 | .globl __start | |
20 | .ent __start | |
21 | .type __start, @function | |
22 | __start: | |
23 | lui $2, %hi(g) | |
24 | addiu $3, $2, %lo(g) | |
25 | addiu $2, $2, %lo(g) | |
26 | .end __start | |
27 | ||
28 | .space 16 |