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

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
SJMP
Function:
Description:
Example:
Operation:
Encoding:
Bytes:
Cycles:
Semiconductor Group
rel
Short jump
Program control branches unconditionally to the address indicated. The branch
destination is computed by adding the signed displacement in the second
instruction byte to the PC, after incrementing the PC twice. Therefore, the range of
destinations allowed is from 128 bytes preceding this instruction to 127 bytes
following it.
The label ”RELADR” is assigned to an instruction at program memory location
0123 H . The instruction
SJMP
will assemble into location 0100 H . After the instruction is executed, the PC will
contain the value 0123 H .
Note:
Under the above conditions the instruction following SJMP will be at 102 H .
Therefore, the displacement byte of the instruction will be the relative offset (0123 H -
0102 H ) = 21 H . In other words, an SJMP with a displacement of 0FE H would be a
one-instruction infinite loop.
SJMP
(PC)
(PC)
2
2
1 0 0 0
(PC) + 2
(PC) + rel
RELADR
0 0 0 0
241
rel. address
Instruction Set

Related parts for SAB80C517-M16