Table of Contents

Advertisement

.75
P
Â
JP
Jump
Instruction Format:
JP cc, dst
cc
OPC
OPC
Operation:
If condition code is true, then PC ← dst
A conditional jump (JP) transfers program control to the destination address if the condition specified by cc
is true. Otherwise, the instruction following the JP instruction is executed. See page 3-8 for a list of condition
codes.
NOTE: Op Code 30H (JP IRR) is unconditional only.
An unconditional jump simply replaces the contents of the Program Counter with the contents of the register
pair specified by the destination operand. Program Control then passes to the instruction addressed by the PC.
Flags:
When the instruction is executed, the flags are set as follows:
C:
The value set by the preceding instruction.
Z:
The value set by the preceding instruction.
S:
The value set by the preceding instruction.
V:
The value set by the preceding instruction.
D:
The value set by the preceding instruction.
H:
The value set by the preceding instruction.
dst
dst
Address Mode
OPC (Hex)
ccD
(cc = 0 to F)
30
dst
DA
IRR

Advertisement

Table of Contents
loading

Table of Contents