Assembly Language Help (alang.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
FSTENV/FLDENV Instructions
◄Detail► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Title: Load or Store Environment State
Syntax: FSTENV dest
FNSTENV dest
FLDENV mem
See also: FSAVE, FSTCW, FSTSW, Coprocessor Environment
Description:
FSTENV stores the 14-byte coprocessor environment state to a
specified memory location. FLDENV loads it from a specified memory
location.
The environment state includes the control word, status word, tag
word, instruction pointer, and operand pointer. On the 80387/486
in 32-bit mode, the environment state is 28 bytes.
The FSTENV instruction has wait and no-wait versions. The wait
version (FSTENV) checks for unmasked numeric errors; the no-wait
version (FNSTENV) does not. When the .8087 directive is used, the
assembler puts the WAIT instruction before the wait version and
the NOP instruction before the no-wait version.
-♦-