Renesas RL78/G1P Hardware User Manual page 719

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
26.1.3 Description of flag operation column
The change of the flag value when the instruction is executed is shown in the "Flag" column using the following symbols.
26.1.4 PREFIX instruction
Instructions with "ES:" have a PREFIX operation code as a prefix to extend the accessible data area to the 1 MB space
(00000H to FFFFFH), by adding the ES register value to the 64 KB space from F0000H to FFFFFH. When a PREFIX
operation code is attached as a prefix to the target instruction, only one instruction immediately after the PREFIX operation
code is executed as the addresses with the ES register value added.
A interrupt and DTC transfer are not acknowledged between a PREFIX instruction code and the instruction immediately
after.
MOV !addr16, #byte
MOV ES:!addr16, #byte
MOV A, [HL]
MOV A, ES:[HL]
Caution Set the ES register value with MOV ES, A, etc., before executing the PREFIX instruction.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Table 26-3. Symbols in "Flag" Column
Symbol
(Blank)
Unchanged
0
Cleared to 0
1
Set to 1
Set/cleared according to the result
R
Previously saved value is restored
Table 26-4. Use Example of PREFIX Operation Code
Instruction
CHAPTER 26 INSTRUCTION SET
Change of Flag Value
Opcode
1
2
3
CFH
!addr16
11H
CFH
!addr16
8BH
11H
8BH
4
5
#byte
#byte
700

Advertisement

Table of Contents
loading

Table of Contents