Advertisement
tyler569

Untitled

Apr 27th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. 00000000004004ac <main>:
  2.  
  3. int main()
  4. {
  5. 4004ac: 55 push rbp
  6. 4004ad: 48 89 e5 mov rbp,rsp
  7. int a = 1;
  8. 4004b0: c7 45 f4 01 00 00 00 mov DWORD PTR [rbp-0xc],0x1
  9. float b = 2;
  10. 4004b7: 8b 05 ef 00 00 00 mov eax,DWORD PTR [rip+0xef] # 4005ac <_IO_stdin_used+0x4>
  11. 4004bd: 89 45 fc mov DWORD PTR [rbp-0x4],eax
  12. int i;
  13.  
  14. for (i=1; i<10; i++)
  15. 4004c0: c7 45 f8 01 00 00 00 mov DWORD PTR [rbp-0x8],0x1
  16. 4004c7: eb 17 jmp 4004e0 <main+0x34>
  17. {
  18. b += a;
  19. 4004c9: f3 0f 2a 45 f4 cvtsi2ss xmm0,DWORD PTR [rbp-0xc]
  20. 4004ce: f3 0f 10 4d fc movss xmm1,DWORD PTR [rbp-0x4]
  21. 4004d3: f3 0f 58 c1 addss xmm0,xmm1
  22. 4004d7: f3 0f 11 45 fc movss DWORD PTR [rbp-0x4],xmm0
  23. {
  24. int a = 1;
  25. float b = 2;
  26. int i;
  27.  
  28. for (i=1; i<10; i++)
  29. 4004dc: 83 45 f8 01 add DWORD PTR [rbp-0x8],0x1
  30. 4004e0: 83 7d f8 09 cmp DWORD PTR [rbp-0x8],0x9
  31. 4004e4: 7e e3 jle 4004c9 <main+0x1d>
  32. {
  33. b += a;
  34. }
  35. return b;
  36. 4004e6: f3 0f 10 45 fc movss xmm0,DWORD PTR [rbp-0x4]
  37. 4004eb: f3 0f 2c c0 cvttss2si eax,xmm0
  38. }
  39. 4004ef: 5d pop rbp
  40. 4004f0: c3 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement