Download ANI sr2, byte - Renesas Electronics

Transcript
CHAPTER 14
INSTRUCTION SET
LDEAX rpa3
(Load EA with Memory addressed by Register Pair)
<1> Operation code
:
0
1
0
0
1
0
0
0
1
0
0
0
C3 C2 C1 C0
Data
<2> Number of bytes/states:
The number of bytes and number of states are as shown below, depending on the rpa3 specification.
rpa3
D
H
D++
Number of bytes
2
Number of states
14 (8)
<3> Function
:
H++
D+byte
3
H+A
H+B
2
H+EA
H+byte
3
20 (11)
EAL ← (rpa3), EAH ← (rpa3+1)
Loads the contents of the memory addressed by the register pair rpa3 (DE, HL, DE++, HL++, DE+byte, HL+A,
HL+B, HL+EA, HL+byte) specified by C3C2C1C0 (2 to 5, B to F) into the low-order 8 bits (EAL) of the extended
accumulator, and loads the contents of the memory addressed by rpa3+1 into the high-order 8 bits (EAH).
If DE+byte or HL+byte is specified as rpa3, the memory is addressed by the result of adding the 3rd byte
(Data) of the instruction to the contents of DE/HL.
If HL+A, HL+B, or HL+EA is specified, the memory is addressed by the result of adding the contents of the
register (A, B, EA) to the contents of HL.
<4> Flags affected
248
:
SK ← 0, L1 ← 0, L0 ← 0