JR cc', d
Conditional Jump Relative
Operation
if cc' {
PC ← PC+d
}
Description
If the condition cc' (NZ, Z, NC or C) is true (a logical 1), then the two's-complement dis-
placement d is added to the Program Counter. The jump is measured from the address of
the byte following the instruction.
Condition Bits Affected
None.
Attributes
Mnemonic Operand
JR
The opcode
dition code, the opcode is assembled as indicated in
Table 62. Opcode Assembly for JR cc', d Instruction
Condition
NZ (non 0)
Z (0)
NC (no carry)
C (carry)
UM007714-0908
ADL Mode Cycle Opcode (hex)
X
cc',d
depends on the condition code being tested. According to the relevant con-
kk
Relevant Flag Opcode (hex)
Z
20
Z
28
C
30
C
38
2/3
kk, dd
Table
62.
®
eZ80
CPU
User Manual
187
CPU Instruction Set
Need help?
Do you have a question about the eZ80 and is the answer not in the manual?
Questions and answers