Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fb:
- option gosub
- gosub t
- end
- t:
- print "hello world!"
- return
- asm:
- .intel_syntax noprefix
- #b1.bas' compilation started at 01:50:36 (FreeBASIC 0.90.1)
- .section .text
- .balign 16
- _fb_ctor__b1:
- push ebp
- mov ebp, esp
- sub esp, 4
- .Lt_0002:
- mov dword ptr [ebp-4], 0
- inc dword ptr [ebp-4]
- call .Lt_0004
- push 0
- call _fb_End@4
- .Lt_0004:
- push 1
- push 12
- push offset _Lt_0006
- call _fb_StrAllocTempDescZEx@8
- push eax
- push 0
- call _fb_PrintString@12
- cmp dword ptr [ebp-4], 0
- je .Lt_0007
- dec dword ptr [ebp-4]
- ret 0
- .Lt_0007:
- push 16
- call _fb_ErrorSetNum@4
- .Lt_0003:
- mov esp, ebp
- pop ebp
- ret
- .section .fbctinf
- .ascii "-lang\0"
- .ascii "fblite\0"
- #b1.bas' compilation took 0.0001817532518106901 secs
- .section .data
- .balign 4
- _Lt_0006: .ascii "hello world!\0"
- .section .ctors
- .int _fb_ctor__b1
Advertisement
Add Comment
Please, Sign In to add comment