Instruction Reference Manual
93
Description
This instruction is similar to the
JP mn
instruction in that it transfers program execution to the memory loca-
tion specified by the 16-bit address, mn.
LJP
is special in that it allows a jump to be made to a computed
address in XMEM. Note that the value of XPC and consequently the address space defined by the XPC is
dynamically changed with the
LJP
instructions.
The instruction loads the XPC with the 8-bit constant x. Then loads PC with the 16-bit constant mn, which
must be in the range E000–FFFF.
This instruction recognizes labels when used in the Dynamic C assembler.
LJP
x
,
mn
Opcode
Instruction
Clocks
Operation
C7
n m x
LJP
x
,
mn
10 (2,2,2,2,2)
XPC =
x
; PC =
mn
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 164: ...160 Instruction Reference Manual...