Keil Logo Arm Logo

8051 Instruction Set Manual

JC

The JC instruction branches to the specified address if the carry flag is set. Otherwise, execution continues with the next instruction. No flags are affected by this instruction.

See Also: JB

JC offset
C AC F0 RS1 RS0 OV   P
Bytes 2
Cycles 2
Encoding
01000000 offset
Operation
JC
PC = PC + 2
IF C = 1
  PC = PC + offset
Example
JC LABEL

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.