Commit | Line | Data |
---|---|---|
88a7ef16 MR |
1 | .text |
2 | .globl bar | |
3 | ||
4 | .space 0x1000 | |
5 | ||
6 | .ent foo | |
7 | .set mips16 | |
8 | foo: | |
9 | b bar + 0x1234 | |
10 | bteqz bar + 0x1234 | |
11 | btnez bar + 0x1234 | |
12 | beqz $2, bar + 0x1234 | |
13 | bnez $2, bar + 0x1234 | |
14 | nop | |
15 | .set nomips16 | |
16 | .end foo | |
17 | ||
18 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... | |
19 | .align 4, 0 | |
20 | .space 16 | |
21 | ||
22 | .ent bar | |
23 | .set mips16 | |
24 | bar: | |
25 | nop | |
26 | .set nomips16 | |
27 | .end bar | |
28 | ||
c9775dde MR |
29 | .space 0x1000 |
30 | ||
88a7ef16 MR |
31 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... |
32 | .align 4, 0 | |
33 | .space 16 |