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>fclex clear exceptions, with error check exceptions: none</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FCLEX           Clear exceptions, with error check   Exceptions: None
FNCLEX          Clear exceptions, no wait            C3 C2 C1 C0: ? ? ? ?

FCLEX
FNCLEX

        Logic   status word . status word AND 7F00h

    These instructions clear the FP exception flags, the exception
    status flag (bit 7 -- the interrupt request flag in the 8087), and
    the busy flag of the FPU status word.
    Before clearing the exception flags, FCLEX checks for unmasked FP
    error conditions (using an FWAIT); FNCLEX does not make this check.

    FCLEX/FNCLEX can be used by an exception handler after it has
    processed an exception. If the exception flags are not cleared, a
    second interrupt request would be issued immediately.


    Opcode      Format
    9B DB E2    FCLEX
    DB E2       FNCLEX


    Timing
    Variations    8087         287        387      486     Pentium
    fclex         2-8          2-8        11        7       9      NP
    fnclex        2-8          2-8        11        7       9      NP

                The wait version may take additional cycles

See Also: FLDCW FINIT FWAIT FPU registers CC

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