Siemens C500 User Manual page 71

Microcontroller family
Table of Contents

Advertisement

LJMP
addr16
Function:
Long jump
Description:
LJMP causes an unconditional branch to the indicated address, by loading the high-
order and low-order bytes of the PC (respectively) with the second and third
instruction bytes. The destination may therefore be anywhere in the full 64K
program memory address space. No flags are affected.
Example:
The label ÒJMPADRÓ is assigned to the instruction at program memory location
1234 H . The instruction
LJMP
at location 0123 H will load the program counter with 1234 H .
Operation:
LJMP
(PC) ¬ addr15-0
Encoding:
0 0 0 0
Bytes:
3
Cycles:
2
Semiconductor Group
JMPADR
0 0 1 0
addr15 . . . addr8
4-45
Instruction Set
C500 Family
addr7 . . . addr0
1998-04-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents