FSTENV / FNSTENV
Usage: FSTENV src Modifies flags: None
Saves the current FPU operating environment at the memory location specified with the 'dest' operand, and then masks all floating-point exceptions. The FPU operating environment consists of the FPU control word, status word, tag word, instruction pointer, data pointer, and last opcode.
Store Floating-Point Environment
FSTENV mem ; 9B D9 /6 [8086,FPU]
FNSTENV mem ; D9 /6 [8086,FPU]
FSTENV stores the FPU operating environment (control word, status word, tag word, instruction pointer, data pointer and last opcode) into memory. The memory area is 14 or 28 bytes long, depending on the CPU mode at the time. See also FLDENV.
FNSTENV does the same thing as FSTENV, without first waiting for pending floating-point exceptions to clear.
EXAMPLE:
fstenv Label
fnstenv Label
FSTENV / FNSTENV
Usage: FSTENV src Modifies flags: None
Saves the current FPU operating environment at the memory location specified with the 'dest' operand, and then masks all floating-point exceptions. The FPU operating environment consists of the FPU control word, status word, tag word, instruction pointer, data pointer, and last opcode.
Store Floating-Point Environment
FSTENV mem ; 9B D9 /6 [8086,FPU]
FNSTENV mem ; D9 /6 [8086,FPU]
FSTENV stores the FPU operating environment (control word, status word, tag word, instruction pointer, data pointer and last opcode) into memory. The memory area is 14 or 28 bytes long, depending on the CPU mode at the time. See also FLDENV.
FNSTENV does the same thing as FSTENV, without first waiting for pending floating-point exceptions to clear.
EXAMPLE:
fstenv Label
fnstenv Label