8051 Instruction Set Manual

SJMP

The SJMP instruction transfers execution to the specified address. The address is calculated by adding the signed relative offset in the second byte of the instructoin to the address of the following instruction. The range of destination addresses is from 128 before thenext instruction to 127 bytes after the next instruction.

See Also: AJMP, LJMP

SJMP offset
CACF0RS1RS0OV P
Bytes2
Cycles2
Encoding
10000000offset
Operation
SJMP
PC = PC + 2
PC = PC + offset
Example
SJMP LABEL