The ICMP instruction does not set any flags. It stores the CMP flag result in a register instead.