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-Float:: Floating Point
21 * RL78-Syntax:: Syntax
29 The Renesas RL78 port of @code{@value{AS}} has no target-specific
33 @section Symbolic Operand Modifiers
35 @cindex RL78 modifiers
38 The RL78 has three modifiers that adjust the relocations used by the
45 When loading a 20-bit (or wider) address into registers, this modifier
46 selects the 16 least significant bits.
54 When loading a 20-bit (or wider) address into registers, this modifier
55 selects the 16 most significant bits.
63 When loading a 20-bit (or wider) address into registers, this modifier
64 selects the 8 bits that would go into CS or ES (i.e. bits 23..16).
73 @section Assembler Directives
75 @cindex assembler directives, RL78
76 @cindex RL78 assembler directives
78 In addition to the common directives, the RL78 adds these:
83 Output a constant in ``double'' format, which is a 32-bit floating
87 Select the BSS section.
90 Output a constant value in a three byte format.
94 Output a constant value in a four byte format.
99 @section Syntax for the RL78
101 * RL78-Chars:: Special Characters
105 @subsection Special Characters
107 @cindex line comment character, RL78
108 @cindex RL78 line comment character
109 The presence of a @samp{;} appearing anywhere on a line indicates the
110 start of a comment that extends to the end of that line.
112 If a @samp{#} appears as the first character of a line then the whole
113 line is treated as a comment, but in this case the line can also be a
114 logical line number directive (@pxref{Comments}) or a preprocessor
115 control command (@pxref{Preprocessing}).
117 @cindex line separator, RL78
118 @cindex statement separator, RL78
119 @cindex RL78 line separator
120 The @samp{|} character can be used to separate statements on the same