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 $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 | nop | |
19 | lw $2, . - 1 + 0x400 | |
20 | nop | |
21 | la $2, . - 1 - 0x4 | |
22 | nop | |
23 | lw $2, . - 1 - 0x4 | |
24 | nop | |
25 | la $2, . - 1 + 0x7fff | |
26 | nop | |
27 | lw $2, . - 1 + 0x7fff | |
28 | nop | |
29 | la $2, . - 1 - 0x8000 | |
30 | nop | |
31 | lw $2, . - 1 - 0x8000 | |
32 | nop | |
33 | la $2, . - 1 + 0x8000 | |
34 | nop | |
35 | lw $2, . - 1 + 0x8000 | |
36 | nop | |
37 | la $2, . - 1 - 0x8001 | |
38 | nop | |
39 | lw $2, . - 1 - 0x8001 | |
40 | nop | |
41 | la $2, bar | |
42 | nop | |
43 | lw $2, bar | |
44 | nop | |
45 | .set autoextend | |
46 | .set nomips16 | |
47 | .end foo | |
48 | ||
49 | .align 8, 0 | |
50 | .space 0xfe00 | |
51 | ||
52 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... | |
53 | .align 4, 0 | |
54 | .space 16 |