5-86
Z380
™
U
SER
'
S
M
ANUAL
DC-8297-03
Z
ILOG
LD
LOAD REGISTER (BYTE)
LD dst,src
dst = R
src = R, RX, IM, IR, X
or
dst = R, RX, IR, X
src = R
Operation:
dst
←
src
The contents of the source are loaded into the destination.
Flags:
S:
Unaffected
Z:
Unaffected
H:
Unaffected
V:
Unaffected
N:
Unaffected
C:
Unaffected
Load into Register
Addressing
Execute
Mode
Syntax
Instruction Format
Time
Note
R:
LD Rd,Rs
01-rd-rs
2
RX:
LD Rd,RX
11y11101 01-ra10w
2
LD RXa,RXb
11y11101 0110a10b
2
IM:
LD R,n
00-r-110 ——n—
2
IR:
LD R,(HL)
01-r-110
5+w
X:
LD R,(XY+d)
11y11101 01-r-110 ——d—
7+w
I
Load from Register
Addressing
Execute
Mode
Syntax
Instruction Format
Time
Note
RX:
LD RX,Rs
11y11101 0110w-ra
2
LD RXa,RXb
11y11101 0110a10b
2
IR:
LD (HL),R
01110-r-
3+w
X:
LD (XY+d),R
11y11101 01110-r- ——d—
5+w
I
Field Encodings:
r:
per convention
rd: per convention
rs: per convention
y:
0 for IX, 1 for IY
w: 0 for high byte, 1 for low byte
ra: per convention, for A, B, C, D, E only
a:
destination, 0 for high byte, 1 for low byte
b: source, 0 for high byte, 1 for low byte