FICOM Integer compare Exceptions: I D FICOMP Integer compare and pop C3 C2 C1 C0: * * * *
FICOM source FICOMP source
; FICOM ; FICOMP Logic CMP ST, source CMP ST, source set condition codes pop ST set condition codes
C3 C1 C0 0 0 0 ST > source 0 0 1 ST < source 1 0 0 ST = source 1 1 1 ST not comparable to source
FICOM/FICOMP compare the stack top to a word or short-integer memory operand and leave the result encoded in the status word as shown above. FICOMP also pops the stack.
Opcode Format DE /2 FICOM m16 DA /2 FICOM m32 DE /3 FICOMP m16 DA /3 FICOMP m32