1 .file "fp1.c" 2 .version "01.01" 3gcc2_compiled.: 4 .section .rodata.str1.1,"aMS",@progbits,1 5.LC2: 6 .string "result = %f\n" 7 .section .rodata.cst8,"aM",@progbits,8 8 .align 8 9.LC0: 10 .long 0xeb851eb8,0x40263851 11.text 12 .align 4 13.globl main 14 .type main,@function 15main: 16 pushl %ebp 17 movl %esp, %ebp 18 subl $8, %esp 19 movl $0, %eax 20 movl $a, %edx 21 fldl .LC0 22 .p2align 2 23.L21: 24 fld %st(0) 25 pushl %eax 26 fimull (%esp) 27 popl %eax 28 fstpl (%edx,%eax,8) 29 incl %eax 30 cmpl $9, %eax 31 jle .L21 32 fstp %st(0) 33 fldz 34 movl $0, %eax 35 movl $a, %edx 36 .p2align 2 37.L26: 38 faddl (%edx,%eax,8) 39 incl %eax 40 cmpl $9, %eax 41 jle .L26 42 subl $12, %esp 43 fstpl (%esp) 44 pushl $.LC2 45 call printf 46 movl $0, %eax 47 leave 48 ret 49.Lfe1: 50 .size main,.Lfe1-main 51 .comm a,80,32 52 .ident "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.3 2.96-110)" 53