Commit | Line | Data |
---|---|---|
17c6c9d9 MR |
1 | .text |
2 | .set noreorder | |
3 | .space 0x1000 | |
4 | ||
5 | .align 4 | |
6 | .set micromips | |
7 | .globl foo | |
8 | .ent foo | |
9 | foo: | |
10 | nor $0, $0 | |
11 | jal 0x4000002 | |
12 | nor $0, $0 | |
13 | jalx 0x8000004 | |
14 | nor $0, $0 | |
15 | jalr $0, $ra | |
16 | nor $0, $0 | |
17 | .end foo | |
18 | ||
19 | .align 4 | |
20 | .set nomicromips | |
21 | .globl bar | |
22 | .ent bar | |
23 | bar: | |
24 | nor $0, $0 | |
25 | jalx 0x8000004 | |
26 | nor $0, $0 | |
27 | jal 0x8000004 | |
28 | nor $0, $0 | |
29 | jalr $0, $ra | |
30 | nor $0, $0 | |
31 | .end bar | |
32 | ||
33 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... | |
34 | .align 4, 0 | |
35 | .space 16 |