aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/c-rx.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gas/doc/c-rx.texi')
-rw-r--r--gas/doc/c-rx.texi28
1 files changed, 27 insertions, 1 deletions
diff --git a/gas/doc/c-rx.texi b/gas/doc/c-rx.texi
index 33ffe19..183fbe3 100644
--- a/gas/doc/c-rx.texi
+++ b/gas/doc/c-rx.texi
@@ -1,4 +1,4 @@
-@c Copyright 2008, 2009
+@c Copyright 2008, 2009, 2011
@c Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
@@ -18,6 +18,7 @@
* RX-Modifiers:: Symbolic Operand Modifiers
* RX-Directives:: Assembler Directives
* RX-Float:: Floating Point
+* RX-Syntax:: Syntax
@end menu
@node RX-Opts
@@ -143,3 +144,28 @@ the generation of 64-bit floating point constants used the @code{dc.d}
directive instead.
@end table
+
+@node RX-Syntax
+@section Syntax for the RX
+@menu
+* RX-Chars:: Special Characters
+@end menu
+
+@node RX-Chars
+@subsection Special Characters
+
+@cindex line comment character, RX
+@cindex RX line comment character
+The presence of a @samp{;} appearing anywhere on a line indicates the
+start of a comment that extends to the end of that line.
+
+If a @samp{#} appears as the first character of a line then the whole
+line is treated as a comment, but in this case the line can also be a
+logical line number directive (@pxref{Comments}) or a preprocessor
+control command (@pxref{Preprocessing}).
+
+@cindex line separator, RX
+@cindex statement separator, RX
+@cindex RX line separator
+The @samp{!} character can be used to separate statements on the same
+line.