.file "cfunc2.c" .version "01.01" gcc2_compiled.: .text .align 4 .globl add .type add,@function add: pushl %ebp movl %esp,%ebp subl $4,%esp movl $22,-4(%ebp) movl 8(%ebp),%eax movl 12(%ebp),%edx leal (%edx,%eax),%ecx movl %ecx,-4(%ebp) movl -4(%ebp),%edx movl %edx,%eax jmp .L1 .p2align 4,,7 .L1: leave ret .Lfe1: .size add,.Lfe1-add .align 4 .globl times5 .type times5,@function times5: pushl %ebp movl %esp,%ebp subl $12,%esp movl $43,-4(%ebp) movl $45,-8(%ebp) movl $49,-12(%ebp) movl 8(%ebp),%eax pushl %eax movl 8(%ebp),%eax pushl %eax call add addl $8,%esp movl %eax,%eax movl %eax,-4(%ebp) movl 8(%ebp),%eax pushl %eax movl -4(%ebp),%eax pushl %eax call add addl $8,%esp movl %eax,%eax movl %eax,-8(%ebp) movl -8(%ebp),%eax pushl %eax movl -4(%ebp),%eax pushl %eax call add addl $8,%esp movl %eax,%eax movl %eax,-12(%ebp) movl -12(%ebp),%edx movl %edx,%eax jmp .L2 .p2align 4,,7 .L2: leave ret .Lfe2: .size times5,.Lfe2-times5 .section .rodata .LC0: .string "b = %d\n" .text .align 4 .globl main .type main,@function main: pushl %ebp movl %esp,%ebp subl $8,%esp movl $13,-4(%ebp) movl $17,-8(%ebp) movl -4(%ebp),%eax pushl %eax call times5 addl $4,%esp movl %eax,%eax movl %eax,-8(%ebp) movl -8(%ebp),%eax pushl %eax pushl $.LC0 call printf addl $8,%esp .L3: leave ret .Lfe3: .size main,.Lfe3-main .ident "GCC: (GNU) egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)"