Simultaneous use of multiple CMP, each CMP instruction behind the state flag is refreshed immediately, so will not affect each other, it can be connected to the output of the coil to hold CMP flag.
What Precautions when using multiple CMP instruction?
