1 | .file 1 "cconv-sample.c" |
---|
2 | .section .mdebug.abi32 |
---|
3 | .previous |
---|
4 | .gnu_attribute 4, 3 |
---|
5 | .abicalls |
---|
6 | .option pic0 |
---|
7 | .text |
---|
8 | .align 2 |
---|
9 | .globl foo |
---|
10 | .ent foo |
---|
11 | .type foo, @function |
---|
12 | foo: |
---|
13 | .set nomips16 |
---|
14 | .frame $fp,24,$31 # vars= 0, regs= 2/0, args= 16, gp= 0 |
---|
15 | .mask 0xc0000000,-4 |
---|
16 | .fmask 0x00000000,0 |
---|
17 | .set noreorder |
---|
18 | .set nomacro |
---|
19 | |
---|
20 | addiu $sp,$sp,-24 |
---|
21 | sw $31,20($sp) |
---|
22 | sw $fp,16($sp) |
---|
23 | move $fp,$sp |
---|
24 | sw $4,24($fp) |
---|
25 | sw $5,28($fp) |
---|
26 | sw $6,32($fp) |
---|
27 | sw $7,36($fp) |
---|
28 | move $4,$0 |
---|
29 | jal exit |
---|
30 | nop |
---|
31 | |
---|
32 | .set macro |
---|
33 | .set reorder |
---|
34 | .end foo |
---|
35 | .align 2 |
---|
36 | .globl callfoo |
---|
37 | .ent callfoo |
---|
38 | .type callfoo, @function |
---|
39 | callfoo: |
---|
40 | .set nomips16 |
---|
41 | .frame $fp,48,$31 # vars= 0, regs= 2/0, args= 40, gp= 0 |
---|
42 | .mask 0xc0000000,-4 |
---|
43 | .fmask 0x00000000,0 |
---|
44 | .set noreorder |
---|
45 | .set nomacro |
---|
46 | |
---|
47 | addiu $sp,$sp,-48 |
---|
48 | sw $31,44($sp) |
---|
49 | sw $fp,40($sp) |
---|
50 | move $fp,$sp |
---|
51 | li $2,11 # 0xb |
---|
52 | sw $2,16($sp) |
---|
53 | li $2,13 # 0xd |
---|
54 | sw $2,20($sp) |
---|
55 | li $2,15 # 0xf |
---|
56 | sw $2,24($sp) |
---|
57 | li $2,17 # 0x11 |
---|
58 | sw $2,28($sp) |
---|
59 | li $2,19 # 0x13 |
---|
60 | sw $2,32($sp) |
---|
61 | li $2,21 # 0x15 |
---|
62 | sw $2,36($sp) |
---|
63 | li $4,3 # 0x3 |
---|
64 | li $5,5 # 0x5 |
---|
65 | li $6,7 # 0x7 |
---|
66 | li $7,9 # 0x9 |
---|
67 | jal foo |
---|
68 | nop |
---|
69 | |
---|
70 | .set macro |
---|
71 | .set reorder |
---|
72 | .end callfoo |
---|
73 | .ident "GCC: (GNU) 4.3.3" |
---|