Guest User

Untitled

a guest
Aug 2nd, 2014
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. fb:
  2. declare sub t ()
  3. t()
  4. end
  5.  
  6. sub t ()
  7. print "hello world!"
  8. end sub
  9.  
  10. asm:
  11. .intel_syntax noprefix
  12.  
  13. #b2.bas' compilation started at 01:50:54 (FreeBASIC 0.90.1)
  14.  
  15. .section .text
  16. .balign 16
  17.  
  18. .globl _T@0
  19. _T@0:
  20. .Lt_0004:
  21. push 1
  22. push 12
  23. push offset _Lt_0006
  24. call _fb_StrAllocTempDescZEx@8
  25. push eax
  26. push 0
  27. call _fb_PrintString@12
  28. .Lt_0005:
  29. ret
  30. .balign 16
  31. _fb_ctor__b2:
  32. .Lt_0002:
  33. call _T@0
  34. push 0
  35. call _fb_End@4
  36. .Lt_0003:
  37. ret
  38. #b2.bas' compilation took 0.0002265515896340276 secs
  39.  
  40. .section .data
  41. .balign 4
  42. _Lt_0006: .ascii "hello world!\0"
  43.  
  44. .section .ctors
  45. .int _fb_ctor__b2
Advertisement
Add Comment
Please, Sign In to add comment