.file "example.c" .section .rodata.str1.1,"aMS",@progbits,1 .comm count,8,8 .LC0: .string "%d\n" mystring: .string "%lld instructions were executed\n" .text .globl main .type main, @function main: addl $8,count adcl $0,count+4 pushl %ebp movl %esp, %ebp subl $8, %esp andl $-16, %esp subl $16, %esp movl $1, %ecx xorl %edx, %edx movl $1, %eax .L2: addl $5,count adcl $0,count+4 addl %ecx, %eax addl %eax, %ecx addl $1, %edx cmpl $-1294967296, %edx jne .L2 movl %eax, 4(%esp) movl $.LC0, (%esp) call printf movl count+4,%eax pushl %eax movl count,%eax pushl %eax pushl $mystring call printf movl $0, (%esp) call exit .size main, .-main .ident "GCC: (GNU) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)" .section .note.GNU-stack,"",@progbits