<< Previous | Next >>

LLJP cc,lxpc,mn     Far Jump     Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
-- LLJP cc, lxpc,mn if {cc}
 XPClow = lxpclow
 XPChigh = lxpchigh
 PC = mn
ED C2 n m xpl xph LLJP NZ, lxpc,mn if {NZ}
 XPClow = lxpclow
 XPChigh = lxpchigh
 PC = mn
ED CA n m xpl xph LLJP Z, lxpc,mn if {Z}
 XPClow = lxpclow
 XPChigh = lxpchigh
 PC = mn
ED D2 n m xpl xph LLJP NC, lxpc,mn if {NC}
 XPClow = xpclow
 XPChigh = xpchigh
 PC = mn
ED DA n m xpl xph LLJP C, lxpc,mn if {C}
 XPClow = lxpclow
 XPChigh = lxpchigh
 PC = mn

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
14
n/a
n/a
Rabbit 5000
14
10
8

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.


Rabbit Instructions << Previous | Next >> rabbit.com