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 rbp,rsp
- int a = 1;
- 4004b0: c7 45 f4 01 00 00 00 mov DWORD PTR [rbp-0xc],0x1
- float b = 2;
- 4004b7: 8b 05 ef 00 00 00 mov eax,DWORD PTR [rip+0xef] # 4005ac <_IO_stdin_used+0x4>
- 4004bd: 89 45 fc mov DWORD PTR [rbp-0x4],eax
- int i;
- for (i=1; i<10; i++)
- 4004c0: c7 45 f8 01 00 00 00 mov DWORD PTR [rbp-0x8],0x1
- 4004c7: eb 17 jmp 4004e0 <main+0x34>
- {
- b += a;
- 4004c9: f3 0f 2a 45 f4 cvtsi2ss xmm0,DWORD PTR [rbp-0xc]
- 4004ce: f3 0f 10 4d fc movss xmm1,DWORD PTR [rbp-0x4]
- 4004d3: f3 0f 58 c1 addss xmm0,xmm1
- 4004d7: f3 0f 11 45 fc movss DWORD PTR [rbp-0x4],xmm0
- {
- int a = 1;
- float b = 2;
- int i;
- for (i=1; i<10; i++)
- 4004dc: 83 45 f8 01 add DWORD PTR [rbp-0x8],0x1
- 4004e0: 83 7d f8 09 cmp DWORD PTR [rbp-0x8],0x9
- 4004e4: 7e e3 jle 4004c9 <main+0x1d>
- {
- b += a;
- }
- return b;
- 4004e6: f3 0f 10 45 fc movss xmm0,DWORD PTR [rbp-0x4]
- 4004eb: f3 0f 2c c0 cvttss2si eax,xmm0
- }
- 4004ef: 5d pop rbp
- 4004f0: c3 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement