Commit | Line | Data |
---|---|---|
97f50151 MR |
1 | .abicalls |
2 | .text | |
3 | ||
4 | .align 4, 0 | |
5 | .globl foo | |
6 | .ent foo | |
7 | foo: | |
8 | .frame $sp, 16, $31 | |
9 | .mask 0x90000000, -8 | |
10 | .fmask 0x00000000, 0 | |
11 | addiu $sp,$sp,-16 | |
12 | .cpsetup $25, 0, foo | |
13 | sd $31, 8($sp) | |
14 | jal bar | |
15 | ld $31,8($sp) | |
16 | .cpreturn | |
17 | addiu $sp,$sp,16 | |
18 | jr $31 | |
19 | .end foo | |
20 | ||
21 | .align 4, 0 | |
22 | .ent bar | |
23 | bar: | |
24 | .frame $sp, 0, $31 | |
25 | .mask 0x00000000, 0 | |
26 | .fmask 0x00000000, 0 | |
27 | jr $31 | |
28 | .end bar | |
29 | ||
30 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... | |
31 | .align 4, 0 | |
32 | .space 16 |