Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>fcompp compare real and pop twice exception flags: i d</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FCOMPP            Compare Real and Pop Twice  Exception Flags: I D

FCOMPP

       Logic:      CMP ST, ST(1)
                   sets condition codes in the status word and then pops
                   twice:

                   C3 C2 C1 C0    Means
                   -- -- -- --    -----------
                   0  0  ?  0     ST > source
                   0  0  ?  1     ST < source
                   1  0  ?  0     ST = source
                   1  1  ?  1     ST not comparable to source

     FCOMPP compares ST(1) to ST, sets the condition codes as shown above, and
     pops the stack twice. It takes no operands.

  --------------------------------------------------------------------------
   Operands            Clocks         Bytes           Example
   FCOMPP              45-55            3             FCOMPP
  --------------------------------------------------------------------------

See Also: FCOM FCOMP

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