Renesas RL78 Series User Manual page 825

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
Instruction
Mnemonic
Group
8-bit
OR
A, #byte
operation
saddr, #byte
A, r
r, A
A, !addr16
A, ES:!addr16
A, saddr
A, [HL]
A, ES:[HL]
A, [HL+byte]
A, ES:[HL+byte]
A, [HL+B]
A, ES:[HL+B]
A, [HL+C]
A, ES:[HL+C]
XOR
A, #byte
saddr, #byte
A, r
r, A
A, !addr16
A, ES:!addr16
A, saddr
A, [HL]
A, ES:[HL]
A, [HL+byte]
A, ES:[HL+byte]
A, [HL+B]
A, ES:[HL+B]
A, [HL+C]
A, ES:[HL+C]
Notes 1. Number of CPU clocks (f
when no data is accessed.
2. Number of CPU clocks (f
accessed by an 8-bit instruction.
3. 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.
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Table 29-5. Operation List (9/17)
Operands
Bytes
Note 1 Note 2
2
3
Note 3
2
2
3
4
2
1
2
2
3
2
3
2
3
2
3
Note 3
2
2
3
4
2
1
2
2
3
2
3
2
3
) 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
A ← Abyte
1
(saddr) ← (saddr)byte
2
A ← A⋁ r
1
r ← r⋁ A
1
A ← A⋁ (addr16)
1
4
A ← A⋁ (ES:addr16)
2
5
A ← A⋁ (saddr)
1
A ← A⋁ (H)
1
4
A ← A⋁ (ES:HL)
2
5
A ← A⋁ (HL+byte)
1
4
A ← A⋁ ((ES:HL)+byte)
2
5
A ← A⋁ (HL+B)
1
4
A ← A⋁ ((ES:HL)+B)
2
5
A ← A⋁ (HL+C)
1
4
A ← A⋁ ((ES:HL)+C)
2
5
A ← A⊻ byte
1
(saddr) ← (saddr)⊻ byte
2
A ← A⊻ r
1
r ← r⊻ A
1
A ← A⊻ (addr16)
1
4
A ← A⊻ (ES:addr16)
2
5
A ← A⊻ (saddr)
1
A ← A⊻ (HL)
1
4
A ← A⊻ (ES:HL)
2
5
A ← A⊻ (HL+byte)
1
4
A ← A⊻ ((ES:HL)+byte)
2
5
A ← A⊻ (HL+B)
1
4
A ← A⊻ ((ES:HL)+B)
2
5
A ← A⊻ (HL+C)
1
4
A ← A⊻ ((ES:HL)+C)
2
5
CHAPTER 29 INSTRUCTION SET
Operation
Flag
Z
AC CY
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
804

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents