CHAPTER 30 INSTRUCTION SET
Page 843 of 920
Note 1.
Number of CPU clocks (f
CLK
) when the internal RAM area, SFR area, or extended SFR area is accessed, or when no
data is accessed.
Note 2.
Number of CPU clocks (f
CLK
) when the code flash memory is accessed, or when the data flash memory is accessed by
an 8-bit instruction.
Note 3.
Except rp = AX
Note 4.
Except r = A
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.
Table 30 - 10 Operation List (6/18)
Instruction
Group
Mnemonic
Operands
Bytes
Clocks
Clocks
Flag
Z
AC
CY
16-bit data
transfer
MOVW
BC, !addr16
3
1
4
BC
←
(addr16)
BC, ES:!addr16
4
2
5
BC
←
(ES, addr16)
DE, !addr16
3
1
4
DE
←
(addr16)
DE, ES:!addr16
4
2
5
DE
←
(ES, addr16)
HL, !addr16
3
1
4
HL
←
(addr16)
HL, ES:!addr16
4
2
5
HL
←
(ES, addr16)
BC, saddrp
2
1
—
BC
←
(saddrp)
DE, saddrp
2
1
—
DE
←
(saddrp)
HL, saddrp
2
1
—
HL
←
(saddrp)
XCHW
AX, rp
1
1
—
AX
←→
rp
ONEW
AX
1
1
—
AX
←
0001H
BC
1
1
—
BC
←
0001H
CLRW
AX
1
1
—
AX
←
0000H
BC
1
1
—
BC
←
0000H
8-bit
operation
ADD
A, #byte
2
1
—
A, CY
←
A + byte
×
×
×
saddr, #byte
3
2
—
(saddr), CY
←
(saddr) + byte
×
×
×
A, r
2
1
—
A, CY
←
A + r
×
×
×
r, A
2
1
—
r, CY
←
r + A
×
×
×
A, !addr16
3
1
4
A, CY
←
A + (addr16)
×
×
×
A, ES:!addr16
4
2
5
A, CY
←
A + (ES, addr16)
×
×
×
A, saddr
2
1
—
A, C
←
A + (saddr)
×
×
×
A, [HL]
1
1
4
A, CY
←
A + (HL)
×
×
×
A, ES:[HL]
2
2
5
A,CY
←
A + (ES, HL)
×
×
×
A, [HL+byte]
2
1
4
A, CY
←
A + (HL + byte)
×
×
×
A, ES:[HL+byte]
3
2
5
A,CY
←
A + ((ES, HL) + byte)
×
×
×
A, [HL+B]
2
1
4
A, CY
←
A + (HL + B)
×
×
×
A, ES:[HL+B]
3
2
5
A,CY
←
A + ((ES, HL) + B)
×
×
×
A, [HL+C]
2
1
4
A, CY
←
A + (HL + C)
×
×
×
A, ES:[HL+C]
3
2
5
A,CY
←
A + ((ES, HL) + C)
×
×
×
Содержание RL78/G1H
Страница 941: ...R01UH0575EJ0120 RL78 G1H...