Z
ILOG
LD
LOAD FROM I OR R REGISTER (BYTE)
LD dst,src
dst ← src
Operation:
The contents of the source are loaded into the accumulator. The contents of the source are
not affected. The Sign and Zero flags are set according to the value of the data transferred;
the Overflow flag is set according to the state of the interrupt enable. Note that if an interrupt
occurs during execution of either of these instructions the Overflow flag reflects the prior
state of the interrupt enable. Also note that the R register does not contain the refresh
address and is not modified by refresh transactions.
Flags:
S:
Set if the data loaded into the accumulator is negative; cleared otherwise
Z:
Set if the data loaded into the accumulator is zero; cleared otherwise
H:
Cleared
V:
Set when loading the accumulator if interrupts are enabled; cleared otherwise
N:
Cleared
C:
Unaffected
Addressing
Mode
Syntax
LD A,I
LD A,R
5-90
dst = A
src = I, R
Instruction Format
11101101 01010111
11101101 01011111
Execute
Time
Note
2
2
Z380
™
U
'
M
SER
S
ANUAL
DC-8297-03
Need help?
Do you have a question about the Z80380 and is the answer not in the manual?