Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 00000000004004ac <main>:
- int main()
- {
- 4004ac: 55 push %rbp
- 4004ad: 48 89 e5 mov %rsp,%rbp
- int a = 1;
- 4004b0: c7 45 f4 01 00 00 00 movl $0x1,-0xc(%rbp)
- float b = 2;
- 4004b7: 8b 05 ef 00 00 00 mov 0xef(%rip),%eax # 4005ac <_IO_stdin_used+0x4>
- 4004bd: 89 45 fc mov %eax,-0x4(%rbp)
- int i;
- for (i=1; i<10; i++)
- 4004c0: c7 45 f8 01 00 00 00 movl $0x1,-0x8(%rbp)
- 4004c7: eb 17 jmp 4004e0 <main+0x34>
- {
- b += a;
- 4004c9: f3 0f 2a 45 f4 cvtsi2ssl -0xc(%rbp),%xmm0
- 4004ce: f3 0f 10 4d fc movss -0x4(%rbp),%xmm1
- 4004d3: f3 0f 58 c1 addss %xmm1,%xmm0
- 4004d7: f3 0f 11 45 fc movss %xmm0,-0x4(%rbp)
- {
- int a = 1;
- float b = 2;
- int i;
- for (i=1; i<10; i++)
- 4004dc: 83 45 f8 01 addl $0x1,-0x8(%rbp)
- 4004e0: 83 7d f8 09 cmpl $0x9,-0x8(%rbp)
- 4004e4: 7e e3 jle 4004c9 <main+0x1d>
- {
- b += a;
- }
- return b;
- 4004e6: f3 0f 10 45 fc movss -0x4(%rbp),%xmm0
- 4004eb: f3 0f 2c c0 cvttss2si %xmm0,%eax
- }
- 4004ef: 5d pop %rbp
- 4004f0: c3 retq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement