.file "local1.c" gcc2_compiled.: ___gnu_compiled_c: .def ___main; .scl 2; .type 32; .endef .text LC0: .ascii "Sum is %d\0" .align 4 .globl _main .def _main; .scl 2; .type 32; .endef _main: pushl %ebp movl %esp,%ebp subl $24,%esp call ___main addl $-8,%esp pushl $25 pushl $75 call _sum addl $16,%esp movl %eax,%eax movl %eax,-4(%ebp) addl $-8,%esp movl -4(%ebp),%eax pushl %eax pushl $LC0 call _printf addl $16,%esp L2: leave ret .align 4 .globl _sum .def _sum; .scl 2; .type 32; .endef _sum: pushl %ebp movl %esp,%ebp subl $24,%esp movl 8(%ebp),%eax movl 12(%ebp),%edx leal (%edx,%eax),%ecx movl %ecx,-4(%ebp) movl -4(%ebp),%edx movl %edx,%eax jmp L3 .p2align 4,,7 L3: leave ret .def _printf; .scl 2; .type 32; .endef .def _sum; .scl 2; .type 32; .endef