Home

Add

Edit

Without Linenumbers

Code in Textfield

Download

  1.         .intel_syntax noprefix
    
  2. 
    
  3.         #TEST.bas' compilation started at 00:59:26 (FreeBASIC 0.23.0)
    
  4. 
    
  5. .section .text
    
  6. .balign 16
    
  7. 
    
  8. .globl _main
    
  9. _main:
    
  10. push ebp
    
  11. mov ebp, esp
    
  12. And esp, 0xFFFFFFF0
    
  13. Sub esp, 24
    
  14. mov dword Ptr [ebp-4], 0
    
  15. Call ___main
    
  16. push 0
    
  17. push dword Ptr [ebp+12]
    
  18. push dword Ptr [ebp+8]
    
  19. Call _fb_Init@12
    
  20. .Lt_0002:
    
  21. push dword Ptr [_lt_0004]
    
  22. push dword Ptr [_lt_0004+4]
    
  23. pop dword Ptr [ebp-8]
    
  24. pop dword Ptr [ebp-12]
    
  25. mov dword Ptr [ebp-16], 100000
    
  26. fld qword Ptr [_lt_0005]
    
  27. fidiv dword Ptr [ebp-16]
    
  28. fstp qword Ptr [ebp-24]
    
  29. fld qword Ptr [ebp-12]
    
  30. fsub qword Ptr [ebp-24]
    
  31. fstp qword Ptr [ebp-12]
    
  32. push 1
    
  33. push dword Ptr [ebp-8]
    
  34. push dword Ptr [ebp-12]
    
  35. push 0
    
  36. Call _fb_PrintDouble@16
    
  37. .Lt_0003:
    
  38. push 0
    
  39. Call _fb_End@4
    
  40. mov eax, dword Ptr [ebp-4]
    
  41. mov esp, ebp
    
  42. pop ebp
    
  43. ret
    
  44.         #TEST.bas' compilation took 0,0002505904380052548 secs
    
  45. 
    
  46. .section .Data
    
  47. .balign 8
    
  48. _Lt_0004:       .Double 13
    
  49. .balign 8
    
  50. _Lt_0005:       .Double 1