<< Previous | Next >>

LLJP cc,lxpc,mn     Far Jump     Rabbit 4000 Instruction
Opcode
Instruction
Clocks
Operation
-- LLJP cc, lxpc,mn
14 (2,2,2,2,2,2,2)
if {cc}
 XPClow = lxpclow
 XPChigh = lxpchigh
 PC = mn

ED C2 n m xpl xph

LLJP NZ, lxpc,mn

14 (2,2,2,2,2,2,2)

if {NZ}
 XPClow = lxpclow
 XPChigh = lxpchigh
 PC = mn

ED CA n m xpl xph

LLJP Z, lxpc,mn

14 (2,2,2,2,2,2,2)

if {Z}
 XPClow = lxpclow
 XPChigh = lxpchigh
 PC = mn

ED D2 n m xpl xph

LLJP NC, lxpc,mn

14 (2,2,2,2,2,2,2)

if {NC}
 XPClow = xpclow
 XPChigh = xpchigh
 PC = mn

ED DA n m xpl xph

LLJP C, lxpc,mn

14 (2,2,2,2,2,2,2)

if {C}
 XPClow = lxpclow
 XPChigh = lxpchigh
 PC = mn


Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-

Description

If condition cc is true then program execution is transferred to the memory location specified by the 16-bit constant, mn. A jump can be made to a computed address in extended memory by loading the 12-bit XPC with the 16-bit constant lxpc (the 4 most significant bits of lxpc are discarded). Note that the value of the 12-bit XPC and consequently the address space defined by it is dynamically changed with this instruction.

This instruction recognizes labels when used in the Dynamic C assembler.


<< Previous | Next >>