Correct me if I am wrong.
This is my understanding of JNZ and CMP.
JNZ
CMP
JNZ - The jump WILL take place if the Z Fl
Z
You can read JNE/Z as *
Jump if the status is "Not set" on Equal/Zero flag
"Not set" is a status when "equal/zero flag" in the CPU is set to 0 which only happens when the condition is met or equally matched.