aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/c-xc16x.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gas/doc/c-xc16x.texi')
-rw-r--r--gas/doc/c-xc16x.texi27
1 files changed, 26 insertions, 1 deletions
diff --git a/gas/doc/c-xc16x.texi b/gas/doc/c-xc16x.texi
index 73866e4..cd7688f 100644
--- a/gas/doc/c-xc16x.texi
+++ b/gas/doc/c-xc16x.texi
@@ -1,4 +1,4 @@
-@c Copyright 2006 Free Software Foundation, Inc.
+@c Copyright 2006, 2011 Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
@@ -9,6 +9,7 @@
@cindex xc16x support
@menu
* xc16x Directives:: xc16x Machine Directives
+* xc16x Syntax:: xc16x Syntax
@end menu
@node xc16x Directives
@@ -53,3 +54,27 @@ aligned to the power of two specified by @var{align}. @var{length} and
differs from @samp{.lcomm} only in that it permits you to specify
an alignment.
@end table
+
+@node xc16x Syntax
+@section xc16x Syntax
+@menu
+* xc16x-Chars:: Special Characters
+@end menu
+
+@node xc16x-Chars
+@subsection Special Characters
+
+@cindex line comment character, xc16x
+@cindex xc16c 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, xc16x
+@cindex statement separator, xc16x
+@cindex xc16x line separator
+The XC16X assembler does not support a line separator character.