fstm80.asm 195 B

123456789101112131415
  1. global _start
  2. %include "header.inc"
  3. fstcw [esp]
  4. and word [esp], ~0x300
  5. or word [esp], 0x200
  6. fldcw [esp]
  7. fldpi
  8. fld1
  9. fmul
  10. fstp tword [esp]
  11. %include "footer.inc"