FLD—Load Floating Point ValueDescriptionPushes the source operand onto the FPU register stack. The source operand can be in single-precision, double-precision, or double extended-precision floating-point format. If the source operand is in single-precision or double-precision floating-point format, it is automatically converted to the double extended-precision floating-point format before being pushed on the stack.The FLD instruction can also push the value in a selected FPU register [ST(i)] onto the stack. Here, pushing register ST(0) duplicates the stack top.NOTEWhen the FLD instruction loads a denormal value and the DM bit in the CW is not masked, an exception is flagged but the value is still pushed onto the x87 stack.This instruction’s operation is the same in non-64-bit modes and 64-bit mode.OperationIF SRC is ST(i)THENtemp := ST(i);FI;TOP := TOP− 1;IF SRC is memory-operandTHENST(0) := ConvertToDoubleExtendedPrecisionFP(SRC);ELSE (* SRC is ST(i) *)ST(0) := temp;FI;FPU Flags AffectedC1Set to 1 if stack overflow occurred; otherwise, set to 0.C0, C2, C3 Undefined.Floating-Point Exceptions#ISStack underflow or overflow occurred.#IASource operand is an SNaN. Does not occur if the source operand is in double extended-preci-sion floating-point format (FLD m80fp or FLD ST(i)).#DSource operand is a denormal value. Does not occur if the source operand is in double extended-precision floating-point format.OpcodeInstruction64-Bit ModeCompat/Leg ModeDescriptionD9 /0FLD m32fpValidValidPush m32fp onto the FPU register stack.DD /0FLD m64fpValidValidPush m64fp onto the FPU register stack.DB /5FLD m80fpValidValidPush m80fp onto the FPU register stack.D9 C0+iFLD ST(i)ValidValidPush ST(i) onto the FPU register stack.
This UNOFFICIAL reference was generated from the official Intel® 64 and IA-32 Architectures Software Developer’s Manual by a dumb script. There is no guarantee that some parts aren't mangled or broken and is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.