Renesas RL78/G1P Hardware User Manual page 717

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

Advertisement

RL78/G1P
26.1 Conventions Used in Operation List
26.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 3-5 Special Function
Register (SFR) List. The extended special function registers can be described to operand !addr16 as symbols.
See Table 3-6 Extended Special Function Register (2nd SFR) List.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Table 26-1. Operand Identifiers and Specification Methods
CHAPTER 26 INSTRUCTION SET
Description Method
Note
)
Note
) FFF00H to
Note
)
698

Advertisement

Table of Contents
loading

Table of Contents