وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

FLDxx

FLDxx

Usage: FLDxx                                           Modifies flags: None

Push one of seven commonly used constants (in double extended-precision floating-point format) onto the FPU register stack. For each constant, an internal 66-bit constant is rounded (as specified by the RC field in the FPU control word) to double extended-precision floating-point format.

Floating-Point Load Constants


FLD1                          ; D9 E8                [8086,FPU]

FLDL2E                        ; D9 EA                [8086,FPU]

FLDL2T                        ; D9 E9                [8086,FPU]

FLDLG2                        ; D9 EC                [8086,FPU]

FLDLN2                        ; D9 ED                [8086,FPU]

FLDPI                         ; D9 EB                [8086,FPU]

FLDZ                          ; D9 EE                [8086,FPU]


These instructions push specific standard constants on the FPU register stack.

Instruction    Constant pushed

FLD1              1

FLDZ             zero

FLDPI             pi

FLDL2E          base-2 logarithm of e

FLDLN2          base-e log of 2

FLDL2T           base-2 log of 10

FLDLG2          base-10 log of 2


The inexact-result exception (#P) is not generated as a result of the rounding, nor is the C1 flag set in the x87 FPU status word if the value is rounded up. See the section titled 'Pi' in Chapter 8 of the IA-32 Intel Architecture Software Developer's Manual, Volume 1, for a description of the p constant.


EXAMPLE:

fld2t