Immediate (immed), Relative (rel) – Zilog Z80180 User Manual
Page 198
Z8018x
Family MPU User Manual
UM005003-0703
183
Immediate (IMMED)
The memory operands are contained within one or two bytes of the
instruction, as depicted in Figure 79.
Figure 79. Immediate Addressing
Relative (REL)
Relative addressing mode is only used by the conditional and unconditional
branch instructions (refer to Figure 80). The branch displacement (relative to
the contents of the program counter) is contained in the instruction.
Figure 80. Relative Addressing
Op Code
n
m
m
16-bit
operand
Op Code
8-bit
operand
Op Code
displacement (d)
Program Counter (PC)