RL78/G1H CHAPTER 30 INSTRUCTION SET
R01UH0575EJ0120 Rev. 1.20 Page 837 of 920
Dec 22, 2016
30.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.
30.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.
Caution Set the ES register value with MOV ES, A, etc., before executing the PREFIX instruction.
Table 30 - 3 Symbols in “Flag” Column
Symbol Change of Flag Value
(Blank)
0
1
×
R
Unchanged
Cleared to 0
Set to 1
Set/cleared according to the result
Previously saved value is restored
Table 30 - 4 Use Example of PREFIX Operation Code
Instruction
Opcode
12345
MOV !addr16, #byte CFH !addr16 #byte —
MOV ES:!addr16, #byte 11H CFH !addr16 #byte
MOV A, [HL] 8BH — — — —
MOV A, ES: [HL] 11H 8BH — — —