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