%include "rw32.inc" section .data x dd 32.2 section .text main: FINIT enter 0,0 ; Pomocí FPU vypočítejte: ; st0 = sqrt( (2*x + pi) / (100 - 3*x) ) ; Ostatní registry FPU prázdné! fldpi ; pi fld dword [x] ; x pi fadd st0 ; x+x pi faddp st1 ; (2x+pi) push __float32__(100.0) fld dword[esp] ; 100 () push __float32__(3.0) fld dword[esp] ; 3.0 100.0 () add esp, 8 ; úklid v zásobníku fld dword [x] ; x 3.0 100.0 () fmulp st1 ; 3x 100 () fsubp ; 100-3x () fdivp st1 ; ()/() fsqrt ; sqrt() call WriteDouble ; => 4.45704 leave ret