
504 EMBEDDED SYSTEMS
JC Target Jump on carry to target.
JNC Target Jump on No carry, to target.
ese instructions test the carry fl ag, and jump to the target depending on the con-
dition of the carry fl ag, as specifi ed.
JZ Target Jump on Zero (A = 0) to target.
JNZ Target Jump on no Zero (A! = 0) to target.
Recollect that there is no Zero fl ag for 8051. eses two instructions test the A reg-
ister to see if it contains a non-zero number or not, and jumps to the target accordingly.
JB Bit, Target Jump to target if the specifi ed bit is set.
JNB Bit, Target Jump to target if the specifi ed bit is not set.
JBC Bit Target Jump to target if the specifi ...