Keil Logo

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
C AC F0 RS1 RS0 OV   P
Bytes 2
Cycles 2
Encoding
10000000 offset
Operation
SJMP
PC = PC + 2
PC = PC + offset
Example
SJMP LABEL
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.