Example:
CMP AX,BX ; compare instruction: sets flags
JE THERE ; if equal then skip the ADD instruction
ADD AX, 02 ; add 02 to AX
THERE: MOV CL, 07 ; load 07 to CL
In the illustration above control of program will directly transfer to label THERE if value stores in AX register is equivalent to that of register BX. The similar illustration can be rewritten in the below manner using different jumps.