Commit | Line | Data |
---|---|---|
3734320d MF |
1 | .abicalls |
2 | .set nomips16 | |
3 | .global foo | |
4 | .ent foo | |
5 | foo: | |
6 | .set noreorder | |
7 | .cpload $25 | |
8 | .set reorder | |
9 | lw $25,%call16(foo)($28) | |
10 | lw $2,%got(data)($28) | |
11 | addiu $2,$2,%lo(data) | |
12 | jrc $25 | |
13 | .end foo | |
14 | ||
15 | .global bar | |
16 | .ent bar | |
17 | bar: | |
18 | .set noreorder | |
19 | .cpload $25 | |
20 | .set reorder | |
21 | lw $25,%call16(ext)($28) | |
22 | jrc $25 | |
23 | .end bar | |
24 | ||
25 | .data | |
26 | data: .word 0x12345678 |