Renesas RL78 Series User Manual page 814

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

Advertisement

RL78/G1D
This chapter lists the instructions in the RL78 microcontroller instruction set.
operation code, refer to the separate document RL78 Microcontrollers User's Manual: software (R01US0015).
29.1 Conventions Used in Operation List
29.1.1 Operand identifiers and specification methods
Operands are described in the "Operand" column of each instruction in accordance with the description method of the
instruction operand identifier (refer to the assembler specifications for details). When there are two or more description
methods, select one of them. Alphabetic letters in capitals and the symbols, #, !, !!, $, $!, [ ], and ES: are keywords and
are described as they are. Each symbol has the following meaning.
#: Immediate data specification
!:
16-bit absolute address specification
!!: 20-bit absolute address specification
$: 8-bit relative address specification
$!: 16-bit relative address specification
[ ]: Indirect address specification
ES: Extension address specification
In the case of immediate data, describe an appropriate numeric value or a label. When using a label, be sure to
describe the #, !, !!, $, $!, [ ], and ES: symbols.
For operand register identifiers, r and rp, either function names (X, A, C, etc.) or absolute names (names in
parentheses in the table below, R0, R1, R2, etc.) can be used for description.
Identifier
r
X (R0), A (R1), C (R2), B (R3), E (R4), D (R5), L (R6), H (R7)
rp
AX (RP0), BC (RP1), DE (RP2), HL (RP3)
sfr
Special-function register symbol (SFR symbol) FFF00H to FFFFFH
sfrp
Special-function register symbols (16-bit manipulatable SFR symbol. Even addresses only
FFFFFH
saddr
FFE20H to FFF1FH Immediate data or labels
saddrp
FFE20H to FF1FH Immediate data or labels (even addresses only
addr20
00000H to FFFFFH Immediate data or labels
addr16
0000H to FFFFH Immediate data or labels (only even addresses for 16-bit data transfer instructions
addr5
0080H to 00BFH Immediate data or labels (even addresses only)
word
16-bit immediate data or label
byte
8-bit immediate data or label
bit
3-bit immediate data or label
RBn
RB0 to RB3
Note
Bit 0 = 0 when an odd address is specified.
Remark
The special function registers can be described to operand sfr as symbols. See Table 4-5 SFR List for the
symbols of the special function registers.
operand !addr16 as symbols. See Table 4-6 Extended SFR (2nd SFR) List for the symbols of the extended
special function registers.
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
CHAPTER 29 INSTRUCTION SET
Table 29-1. Operand Identifiers and Specification Methods
CHAPTER 29 INSTRUCTION SET
Description Method
Note
)
The extended special function registers can be described to
For details of each operation and
Note
) FFF00H to
Note
)
793

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents