NASM 2.05 based x86 Instruction Reference[ch101]
A.5.81 FICOM, FICOMP: Floating-Point/Integer Compare FICOM mem16 ; DE /2 [8086,FPU] FICOM mem32 ; DA /2 [8086,FPU] FICOMP mem16 ; DE /3 [8086,FPU] FICOMP mem32 ; DA /3 [8086,FPU] FICOM compares ST0 with the 16-bit or 32-bit integer stored in the given memory location, and sets the FPU flags accordingly. FICOMP does the same, but pops the register stack afterwards.