<< Previous | Next >>

JP f,mn     Jump     Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation
---- JP f,mn
7 (2,2,2,1)
if {f} PC = mn

C2 n m

JP NZ,mn

7 (2,2,2,1)

if {NZ} PC = mn

CA n m

JP Z,mn

7 (2,2,2,1)

if {Z} PC = mn

D2 n m

JP NC,mn

7 (2,2,2,1)

if {NC} PC = mn

DA n m

JP C,mn

7 (2,2,2,1)

if {C} PC = mn

E2 n m

JP LZ,mn

7 (2,2,2,1)

if {LZ/NV} PC = mn

EA n m

JP LO,mn

7 (2,2,2,1)

if {LO/V} PC = mn

F2 n m

JP P,mn

7 (2,2,2,1)

if {P} PC = mn

FA n m

JP M,mn

7 (2,2,2,1)

if {M} PC = mn


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

Description

If the condition f is true then PC is loaded with the 16-bit constant mn. If the condition is false then PC increments normally.

The condition f is one of the following:
Condition Code
Flag Bit Value
Description

NZ

Z=0

True when the Z flag has not been set

Z

Z=1

True when the Z flag has been set

NC

C=0

True when the C flag has not been set

C

C=1

True when the C flag has been set

LZ

L/V=0

True when the L/V flag has not been set

LO

L/V=1

True when the L/V flag has been set

P

S=0

True when S flag has not been set

M

S=1

True when S flag has been set


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


<< Previous | Next >>