JP f,mn
Jump
Rabbit 2000/3000/4000 Instruction
|
| ---- |
JP f,mn |
|
if {f} PC = mn |
|
C2 n m
|
JP NZ,mn
|
|
if {NZ} PC = mn
|
|
CA n m
|
JP Z,mn
|
|
if {Z} PC = mn
|
|
D2 n m
|
JP NC,mn
|
|
if {NC} PC = mn
|
|
DA n m
|
JP C,mn
|
|
if {C} PC = mn
|
|
E2 n m
|
JP LZ,mn
|
|
if {LZ/NV} PC = mn
|
|
EA n m
|
JP LO,mn
|
|
if {LO/V} PC = mn
|
|
F2 n m
|
JP P,mn
|
|
if {P} PC = mn
|
|
FA n m
|
JP M,mn
|
|
if {M} PC = mn
|
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:
|
|
|
|
True when the Z flag has not been set
|
|
|
|
True when the Z flag has been set
|
|
|
|
True when the C flag has not been set
|
|
|
|
True when the C flag has been set
|
|
|
|
True when the L/V flag has not been set
|
|
|
|
True when the L/V flag has been set
|
|
|
|
True when S flag has not been set
|
|
|
|
True when S flag has been set
|
This instruction recognizes labels when used in the Dynamic C assembler.