        .586
        .model flat

        extern _printf: near

        .data
fmtd    db       "%d"
        db       0aH
        db       00H
f       dword    40B00000H
dst     dword    00000000H

        .code
_main   proc public
        push ebp
        mov ebp, esp

        fld  dword ptr f
        fistp dword ptr dst
        mov  eax, dword ptr dst

        push eax
        push offset fmtd
        call _printf
        add  esp, 8

        fld  dword ptr f
        fisttp dword ptr dst
        mov  eax, dword ptr dst

        push eax
        push offset fmtd
        call _printf
        add  esp, 8

        mov  eax, 0
        pop ebp
        ret
_main   endp

        end
