2 @c Free Software Foundation, Inc.
3 @c This is part of the GAS manual.
4 @c For copying conditions, see the file as.texinfo.
8 @chapter RL78 Dependent Features
11 @node Machine Dependencies
12 @chapter RL78 Dependent Features
17 * RL78-Opts:: RL78 Assembler Command Line Options
18 * RL78-Modifiers:: Symbolic Operand Modifiers
19 * RL78-Directives:: Assembler Directives
20 * RL78-Syntax:: Syntax
28 The Renesas RL78 port of @code{@value{AS}} has no target-specific
32 @section Symbolic Operand Modifiers
34 @cindex RL78 modifiers
37 The RL78 has three modifiers that adjust the relocations used by the
44 When loading a 20-bit (or wider) address into registers, this modifier
45 selects the 16 least significant bits.
53 When loading a 20-bit (or wider) address into registers, this modifier
54 selects the 16 most significant bits.
62 When loading a 20-bit (or wider) address into registers, this modifier
63 selects the 8 bits that would go into CS or ES (i.e. bits 23..16).
72 @section Assembler Directives
74 @cindex assembler directives, RL78
75 @cindex RL78 assembler directives
77 In addition to the common directives, the RL78 adds these:
82 Output a constant in ``double'' format, which is a 32-bit floating
86 Select the BSS section.
89 Output a constant value in a three byte format.
93 Output a constant value in a four byte format.
98 @section Syntax for the RL78
100 * RL78-Chars:: Special Characters
104 @subsection Special Characters
106 @cindex line comment character, RL78
107 @cindex RL78 line comment character
108 The presence of a @samp{;} appearing anywhere on a line indicates the
109 start of a comment that extends to the end of that line.
111 If a @samp{#} appears as the first character of a line then the whole
112 line is treated as a comment, but in this case the line can also be a
113 logical line number directive (@pxref{Comments}) or a preprocessor
114 control command (@pxref{Preprocessing}).
116 @cindex line separator, RL78
117 @cindex statement separator, RL78
118 @cindex RL78 line separator
119 The @samp{|} character can be used to separate statements on the same