Z
ILOG
LD
LOAD ACCUMULATOR
LD dst,src
dst ← src
Operation:
The contents of the source are loaded into the destination.
S:
Unaffected
Flags:
Z:
Unaffected
H:
Unaffected
V:
Unaffected
N:
Unaffected
C:
Unaffected
Load into Accunulator
Addressing
Mode
Syntax
LD A,R
R:
RX:
LD A,RX
IM:
LD A,n
IR:
LD A,(HL)
LD A,(IR)
LD A,(nn)
DA:
X:
LD A,(XY+d)
Load from Accunulator
Addressing
Mode
Syntax
R:
LD Rd,A
RX:
LD RX,A
IR:
LD (HL),A
LD (IR),A
DA:
LD (nn),A
X:
LD (XY+d),A
Field Encodings: r:
per convention
y: 0 for IX, 1 for IY
w: 0 for high byte, 1 for low byte
a: 0 for BC, 1 for DE
5-82
dst = A
src = R, RX, IM, IR, DA, X
or
dst = R, RX, IR, DA, X
src = A
Instruction Format
01111-r-
11y11101 0111110w
00111110 ——n—
01111110
000a1010
00111010 -n(low)- -n(high)
11y11101 01111110 ——d—
Instruction Format
01-r-111
11y11101 0110w111
01110111
000a0010
00110010 -n(low)- -n(high)
11y11101 01110111 ——d—
U
'
SER
Execute
Time
Note
2
2
2
2+r
2+r
3+r
I
4+r
I
Execute
Time
Note
2
2
3+w
3+w
4+w
I
5+w
I
DC-8297-03
Z380
™
M
S
ANUAL
Need help?
Do you have a question about the Z80380 and is the answer not in the manual?