beautypg.com

Immediate data addressing – Zilog Z8F0130 User Manual

Page 59

background image

eZ8

CPU Core

User Manual

UM012820-0810

Addressing Modes

37

Immediate Data Addressing

Immediate data, addressing symbol IM, is considered an addressing mode
for this discussion. It is the only addressing mode that does not indicate a
register or memory address as the operand. The operand value used by the
instruction is the value supplied in the operand field itself. Because an
immediate operand is part of the instruction, it is always located in the
Program Memory address space (see

Figure 16

).

Figure 16. Immediate Data Addressing

Program Memory

Two Operand

Instruction

(Example)

Op Code

dst

Immediate

Data

Register File

12-bit address is

{RP[3:0], dst[7:0]}

Destination

Register

8-bit data written

to Destination