Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>fldz load constant onto stack, +0.0 exceptions: i</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FLDZ            Load constant onto stack, +0.0       Exceptions: I
FLD1            Load constant onto stack, +1.0       C3 C2 C1 C0: ? ? * ?
FLDL2E          Load constant onto stack, logarithm base 2 (e)
FLDL2T          Load constant onto stack, logarithm base 2 (10)
FLDLG2          Load constant onto stack, logarithm base 10 (2)
FLDLN2          Load constant onto stack, natural logarithm (2)
FLDPI           Load constant onto stack, pi (3.14159...)

        Logic:

        FLDZ        push +0.0 into ST

        FLD1        push +1.0 into ST

        FLDL2E      push Log(2)e into ST

        FLDL2T      push Log(2)10 into ST

        FLDLG2      push Log(10)2 into ST

        FLDLN2      push Log(e)2 into ST

        FLDLPI      push PI into ST

    Each of these instructions pushes a commonly used value (in extended
    real format) onto the FPU stack.


    Opcode      Format
    D9 E8       FLD1
    D9 E9       FLDL2T
    D9 EA       FLDL2E
    D9 EB       FLDPI
    D9 EC       FLDLG2
    D9 ED       FLDLN2
    D9 EE       FLDZ


    Timing
    Variations    8087         287        387      486     Pentium
    fldz         11-17        11-17       20        4       2      NP
    fld1         15-21        15-21       24        4       2      NP
    fldl2e       15-21        15-21       40        8      5/3     NP
    fldl2t       16-22        16-22       40        8      5/3     NP
    fldlg2       18-24        18-24       41        8      5/3     NP
    fldln2       17-23        17-23       41        8      5/3     NP
    fldpi        16-22        16-22       40        8      5/3     NP

See Also: FLD FILD FBLD CC

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson