RL78/G1D
Instruction
Mnemonic
Group
16-bit
MOVW
AX, [DE]
data
[DE], AX
transfer
AX, ES:[DE]
ES:[DE], AX
AX, [HL]
[HL], AX
AX, ES:[HL]
ES:[HL], AX
AX, [DE+byte]
[DE+byte], AX
AX, ES:[DE+byte]
ES:[DE+byte], AX
AX, [HL+byte]
[HL+byte], AX
AX, ES:[HL+byte]
ES:[HL+byte], AX
AX, [SP+byte]
[SP+byte], AX
AX, word[B]
word[B], AX
AX, ES:word[B]
ES:word[B], AX
AX, word[C]
word[C], AX
AX, ES:word[C]
ES:word[C], AX
AX, word[BC]
word[BC], AX
AX, ES:word[BC]
ES:word[BC], AX
Notes 1. Number of CPU clocks (f
when no data is accessed.
2. Number of CPU clocks (f
accessed by an 8-bit instruction.
Remark
Number of clock is when program exists in the internal ROM (flash memory) area. If fetching the instruction
from the internal RAM area, the number becomes double number plus 3 clocks at a maximum.
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Table 29-5. Operation List (5/17)
Operands
Bytes
Note 1 Note 2
1
1
2
2
1
1
2
2
2
2
3
3
2
2
3
3
2
2
3
3
4
4
3
3
4
4
3
3
4
4
) when the internal RAM area, SFR area, or extended SFR area is accessed, or
CLK
) when the code flash memory is accessed, or when the data flash memory is
CLK
Clocks
1
4
AX ← (DE)
1
–
(DE) ← AX
2
5
AX ← (ES, DE)
2
–
(ES, DE) ← AX
1
4
AX ← (HL)
1
–
(HL) ← AX
2
5
AX ← (ES, HL)
2
–
(ES, HL) ← AX
1
4
AX ← (DE+byte)
1
–
(DE+byte) ← AX
2
5
AX ← ((ES, DE) + byte)
2
–
((ES, DE) + byte) ← AX
1
4
AX ← (HL + byte)
1
–
(HL + byte) ← AX
2
5
AX ← ((ES, HL) + byte)
2
–
((ES, HL) + byte) ← AX
1
–
AX ← (SP + byte)
1
–
(SP + byte) ← AX
1
4
AX ← (B + word)
1
–
(B+ word) ← AX
2
5
AX ← ((ES, B) + word)
2
–
((ES, B) + word) ← AX
1
4
AX ← (C + word)
1
–
(C + word) ← AX
2
5
AX ← ((ES, C) + word)
2
–
((ES, C) + word) ← AX
1
4
AX ← (BC + word)
1
–
(BC + word) ← AX
2
5
AX ← ((ES, BC) + word)
2
–
((ES, BC) + word) ← AX
CHAPTER 29 INSTRUCTION SET
Operation
Flag
Z
AC CY
800