SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 204

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
JB
Function:
Description:
Example:
Operation:
Encoding:
Bytes:
Cycles:
Semiconductor Group
bit,rel
Jump if bit is set
If the indicated bit is a one, jump to the address indicated; otherwise proceed with
the next instruction. The branch destination is computed by adding the signed
relative-displacement in the third instruction byte to the PC, after incrementing the
PC to the first byte of the next instruction. The bit tested is not modified. No flags
are affected.
The data present at input port 1 is 11001010 B . The accumulator holds 56
(01010110 B ). The instruction sequence
JB
JB
will cause program execution to branch to the instruction at label LABEL2.
JB
(PC)
if (bit) = 1
then (PC)
3
2
0 0 1 0
(PC) + 3
P1.2,LABEL1
ACC.2,LABEL2
0 0 0 0
(PC) + rel
205
bit address
rel. address
Instruction Set

Related parts for SAB80C517-M16