<< Previous | Next >>

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

Opcode
Instruction
Operation
-- LLJP cx, lxpc,mn if {cx}
  XPClow = lxpclow
  XPChigh = lxpchigh
  PC = mn
ED A2 n m xpl xph LLJP GT, lxpc,mn if {GT}
  XPClow = lxpclow
  XPChigh = lxpchigh
  PC = mn
ED AA n m xpl xph LLJP GTU, lxpc,mn if {GTU}
  XPClow = lxpclow
  XPChigh = lxpchigh
  PC = mn
ED B2 n m xpl xph LLJP LT, lxpc,mn if {LT}
  XPClow = lxpclow
  XPChigh = lxpchigh
  PC = mn
ED BA n m xpl xph LLJP V, lxpc,mn if {V}
  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 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.


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