Z8 Microcontrollers
ZiLOG Instruction Descriptions and Formats
UM001601-0803 12-43
LDE
LOAD EXTERNAL DATA
LDE
Load External Data
LDE dst, src
Instruction Format:
Operation:
dst <— src
This instruction is used to load a byte from external data memory into a Working Register or vice versa. The address
of the external data memory location is specified by a Working Register Pair. The contents of the source operand
are not affected.
Example:
If Working Register Pair R6 and R7 contain the value 40A2H and external data memory location 40A2H contains
the value 22H, the statement:
LDE R2, @RR6
Op Code: 82 26
loads the value 22H into Working Register R2. The value of external data memory location 40A2H is unchanged
by the load.
Example:
If Working Register Pair R6 and R7 contain the value 404AH and Working Register R2 contains the value 22H,
the statement:
LDE @RR6, R2
Op Code: 92 26
loads the value 22H into external data memory location 404AH
Note: This instruction format is valid only for MCUs which can address external data memory.
Cycles
OPC
Address Mode
(Hex)
dst src
12 92 Irr r
12 82 r Irr
OPC
OPC
dst src
src dst
Flags: C: Unaffected
Z: Unaffected
S: Unaffected
V: Unaffected
D: Unaffected
H: Unaffected