English
Language : 

SAB80515 Datasheet, PDF (165/270 Pages) Siemens Semiconductor Group – 8-Bit Single-Chip Microcontroller Family
Instruction Set
JC
rel
Function:
Jump if carry is set
Description:
If the carry flag is set, branch to the address indicated; otherwise proceed with the
next instruction. The branch destination is computed by adding the signed relative-
displacement in the second instruction byte to the PC, after incrementing the PC
twice. No flags are affected.
Example:
The carry flag is cleared. The instruction sequence
JC
CPL
JC
LABEL1
C
LABEL2
will set the carry and cause program execution to continue at the instruction
identified by the label LABEL2.
Operation:
JC
(PC) ← (PC) + 2
if (C) = 1
then (PC) ← (PC) + rel
Encoding:
Bytes:
Cycles:
0100 0000
2
2
rel. address
Semiconductor Group
165