Commit | Line | Data |
---|---|---|
3f3467ff MR |
1 | .text |
2 | ||
3 | .set bar, 4 | |
4 | ||
5 | .ent foo | |
6 | .set mips16 | |
7 | foo: | |
8 | li $2, %hi(bar) | |
9 | sll $2, $2, 16 | |
10 | ||
11 | ext $3, $2, %lo(bar), 16 | |
12 | ext $3, $2, 16, %lo(bar) | |
13 | ins $3, $2, %lo(bar), 16 | |
14 | ins $3, $2, 16, %lo(bar) | |
15 | ins $2, $0, %lo(bar), 16 | |
16 | ins $2, $0, 16, %lo(bar) | |
17 | ||
18 | sync %lo(bar) | |
19 | ||
20 | ll $3, %lo(bar)($2) | |
21 | lwl $3, %lo(bar)($2) | |
22 | lwr $3, %lo(bar)($2) | |
23 | sc $3, %lo(bar)($2) | |
24 | swl $3, %lo(bar)($2) | |
25 | swr $3, %lo(bar)($2) | |
26 | ||
27 | cache 3, %lo(bar)($2) | |
28 | pref 3, %lo(bar)($2) | |
29 | ||
30 | mfc0 $3, $2, %lo(bar) | |
31 | mtc0 $3, $2, %lo(bar) | |
32 | ||
33 | nop | |
34 | .set nomips16 | |
35 | .end foo | |
36 | ||
37 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... | |
38 | .space 16 | |
39 | .align 4, 0 |