Home

Add

Edit

With Linenumbers

Code in Textfield

Download

        .intel_syntax noprefix

        #TEST.bas' compilation started at 00:59:26 (FreeBASIC 0.23.0)

.section .text
.balign 16

.globl _main
_main:
push ebp
mov ebp, esp
And esp, 0xFFFFFFF0
Sub esp, 24
mov dword Ptr [ebp-4], 0
Call ___main
push 0
push dword Ptr [ebp+12]
push dword Ptr [ebp+8]
Call _fb_Init@12
.Lt_0002:
push dword Ptr [_lt_0004]
push dword Ptr [_lt_0004+4]
pop dword Ptr [ebp-8]
pop dword Ptr [ebp-12]
mov dword Ptr [ebp-16], 100000
fld qword Ptr [_lt_0005]
fidiv dword Ptr [ebp-16]
fstp qword Ptr [ebp-24]
fld qword Ptr [ebp-12]
fsub qword Ptr [ebp-24]
fstp qword Ptr [ebp-12]
push 1
push dword Ptr [ebp-8]
push dword Ptr [ebp-12]
push 0
Call _fb_PrintDouble@16
.Lt_0003:
push 0
Call _fb_End@4
mov eax, dword Ptr [ebp-4]
mov esp, ebp
pop ebp
ret
        #TEST.bas' compilation took 0,0002505904380052548 secs

.section .Data
.balign 8
_Lt_0004:       .Double 13
.balign 8
_Lt_0005:       .Double 1