Commit | Line | Data |
---|---|---|
df58fc94 RS |
1 | .file 1 "jalx-2-main.c" |
2 | .section .mdebug.abi32 | |
3 | .previous | |
4 | .gnu_attribute 4, 1 | |
5 | .abicalls | |
6 | .option pic0 | |
7 | .text | |
8 | .align 2 | |
9 | .globl internal_function | |
10 | .set nomips16 | |
11 | .set micromips | |
12 | .ent internal_function | |
13 | .type internal_function, @function | |
14 | internal_function: | |
15 | .frame $fp,8,$31 # vars= 0, regs= 1/0, args= 0, gp= 0 | |
16 | .mask 0x40000000,-4 | |
17 | .fmask 0x00000000,0 | |
18 | .set noreorder | |
19 | .set nomacro | |
20 | ||
21 | addiu $sp,$sp,-8 | |
22 | sw $fp,4($sp) | |
23 | move $fp,$sp | |
24 | move $sp,$fp | |
25 | lw $fp,4($sp) | |
26 | jraddiusp 8 | |
27 | .set macro | |
28 | .set reorder | |
29 | .end internal_function | |
30 | .size internal_function, .-internal_function | |
31 | .rdata | |
32 | .align 2 | |
33 | $LC0: | |
34 | .ascii "hello world\012\000" | |
35 | .text | |
36 | .align 2 | |
37 | .globl main | |
38 | .set nomips16 | |
39 | .set micromips | |
40 | .ent main | |
41 | .type main, @function | |
42 | main: | |
43 | .frame $fp,32,$31 # vars= 0, regs= 2/0, args= 16, gp= 8 | |
44 | .mask 0xc0000000,-4 | |
45 | .fmask 0x00000000,0 | |
46 | .set noreorder | |
47 | .set nomacro | |
48 | ||
49 | addiu $sp,$sp,-32 | |
50 | sw $31,28($sp) | |
51 | sw $fp,24($sp) | |
52 | move $fp,$sp | |
53 | sw $4,32($fp) | |
54 | sw $5,36($fp) | |
55 | lui $2,%hi($LC0) | |
56 | addiu $4,$2,%lo($LC0) | |
57 | jal printf | |
58 | nop | |
59 | ||
60 | jal internal_function | |
61 | nop | |
62 | ||
63 | jal external_function | |
64 | nop | |
65 | ||
66 | move $sp,$fp | |
67 | lw $31,28($sp) | |
68 | lw $fp,24($sp) | |
69 | jraddiusp 32 | |
70 | .set macro | |
71 | .set reorder | |
72 | .end main | |
73 | .size main, .-main | |
74 | .ident "GCC: (Sourcery G++ Lite 4.4-999999 - Preview) 4.4.1" |