Commit | Line | Data |
---|---|---|
8507b6e7 MR |
1 | .text |
2 | ||
3 | .space 0x1000 | |
4 | ||
5 | .ent foo | |
6 | .set mips16 | |
7 | foo: | |
8 | la $2, 0x12345678 | |
9 | lw $2, 0x12345678 | |
10 | la $2, bar | |
11 | lw $2, bar | |
12 | la $2, bar + 0x2468 | |
13 | lw $2, bar + 0x2468 | |
14 | la $2, 0x2468ace0 | |
15 | lw $2, 0x2468ace0 | |
16 | nop | |
17 | .set nomips16 | |
18 | .end foo | |
19 | ||
20 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... | |
21 | .align 4, 0 | |
22 | .space 16 | |
23 | ||
24 | .set bar, 0x12345678 |