1
0

fsave_frstor.asm 261 B

12345678910111213
  1. global _start
  2. %include "header.inc"
  3. sub esp, 128
  4. fldz
  5. fld1
  6. fsave [esp]
  7. frstor [esp]
  8. mov dword [esp + 12], 0 ; fpu eip (currently not emulated)
  9. mov dword [esp + 16], 0 ; fpu cs/opcode (currently not emulated)
  10. %include "footer.inc"