Guest User

Untitled

a guest
Aug 2nd, 2014
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. fb:
  2. option gosub
  3.  
  4. gosub t
  5. end
  6.  
  7. t:
  8. print "hello world!"
  9. return
  10.  
  11. asm:
  12. .intel_syntax noprefix
  13.  
  14. #b1.bas' compilation started at 01:50:36 (FreeBASIC 0.90.1)
  15.  
  16. .section .text
  17. .balign 16
  18. _fb_ctor__b1:
  19. push ebp
  20. mov ebp, esp
  21. sub esp, 4
  22. .Lt_0002:
  23. mov dword ptr [ebp-4], 0
  24. inc dword ptr [ebp-4]
  25. call .Lt_0004
  26. push 0
  27. call _fb_End@4
  28. .Lt_0004:
  29. push 1
  30. push 12
  31. push offset _Lt_0006
  32. call _fb_StrAllocTempDescZEx@8
  33. push eax
  34. push 0
  35. call _fb_PrintString@12
  36. cmp dword ptr [ebp-4], 0
  37. je .Lt_0007
  38. dec dword ptr [ebp-4]
  39. ret 0
  40. .Lt_0007:
  41. push 16
  42. call _fb_ErrorSetNum@4
  43. .Lt_0003:
  44. mov esp, ebp
  45. pop ebp
  46. ret
  47.  
  48. .section .fbctinf
  49. .ascii "-lang\0"
  50. .ascii "fblite\0"
  51.  
  52. #b1.bas' compilation took 0.0001817532518106901 secs
  53.  
  54. .section .data
  55. .balign 4
  56. _Lt_0006: .ascii "hello world!\0"
  57.  
  58. .section .ctors
  59. .int _fb_ctor__b1
Advertisement
Add Comment
Please, Sign In to add comment