Commit | Line | Data |
---|---|---|
8507b6e7 MR |
1 | .text |
2 | ||
3 | bar: | |
4 | .space 0x10000 | |
5 | ||
6 | .ent foo | |
7 | .set mips16 | |
8 | .set noreorder | |
9 | foo: | |
10 | jr $4 | |
11 | la $2, . - 3 + 0x3fc | |
12 | jr $ra | |
13 | lw $2, . - 3 + 0x3fc | |
14 | jr $4 | |
15 | la $2, . - 3 + 0x7fff | |
16 | nop | |
17 | jr $ra | |
18 | lw $2, . - 3 + 0x7fff | |
19 | nop | |
20 | jr $4 | |
21 | la $2, . - 3 + 0x8000 | |
22 | nop | |
23 | jr $ra | |
24 | lw $2, . - 3 + 0x8000 | |
25 | nop | |
26 | .set reorder | |
27 | .set nomips16 | |
28 | .end foo | |
29 | ||
30 | baz: | |
31 | .align 8, 0 | |
32 | .space 0xfe00 | |
33 | ||
34 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... | |
35 | .align 4, 0 | |
36 | .space 16 |