Learnacy Lab
CMP subtracts without storing, setting the Zero and Carry flags; a following conditional jump reads those flags to choose a branch — this is how if/else…