<< Previous | Next >>

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

ED A2 n m xpl xph

LLJP GT, lxpc,mn

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

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

ED AA n m xpl xph

LLJP GTU, lxpc,mn

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

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

ED B2 n m xpl xph

LLJP LT, lxpc,mn

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

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

ED BA n m xpl xph

LLJP V, lxpc,mn

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

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


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

Description

If condition cx 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 >>