You are here : assembly8051SJMP

SJMP - 8051

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.


Syntax

SJMP offset


Example

SJMP label	;2 bytes 2 cycles


Output / Return Value


Limitations


Alternatives / See Also


Reference