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