v86/tests/nasm/fstm80.asm
2020-12-31 19:14:32 -06:00

16 lines
195 B
NASM

global _start
%include "header.inc"
fstcw [esp]
and word [esp], ~0x300
or word [esp], 0x200
fldcw [esp]
fldpi
fld1
fmul
fstp tword [esp]
%include "footer.inc"