IA-32 Assembly Language Reference Manual

Floating-Point Comparison Instructions

Floating-Point Unsigned Compare (fucom)

fucom	freg

Description:

Compare stack element 0 with stack element (i). Use condition codes:

No compare: 111

(i) < stack 0: 000

(i) > stack 0: 001

(i) = stack 0: 100

Example

Compare stack element 0 with stack element 7.

fucom %st(7)

Floating-Point Unsigned Compare And Pop (fucomp)

fucomp	freg
Description

Compare stack element 0 with stack element (i). Use condition codes shown for fucom. Then pop the stack.

Example
fucomp %st(7)

Floating-Point Unsigned Compare And Pop Two (fucompp)

fucompp
Description

Compare stack element 0 with stack element (i). Use condition codes shown for fucom. Then pop the stack twice.

Example
fucompp %st(7)