English
Language : 

Z86C03 Datasheet, PDF (287/348 Pages) Zilog, Inc. – General-Purpose Register File. Flexible I/O. Analog Inputs
Z8 CPU
User Manual
269
Load Constant
LDC dst, src
Instruction Format
OPC
OPC
dst src
dst src
Cycles
12
OPC
(Hex)
C2
12
D2
Address Mode
dst
src
r
Irr
Irr
r
Operation
dst ← src
This instruction is used to load a byte constant from program memory
into a Working Register, or vice versa. The address of the program mem-
ory location is specified by a Working Register Pair. The contents of the
source operand are not affected.
Flag
C
Z
S
V
D
H
Description
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Example
If Working Register Pair R6 and R7 contain the value 30A2h and program
memory location 30A2h contains the value 22h, the statement:
LDC R2, @RR6
Op Code: C2 26
UM001602-0904
Instruction Description