diff options
Diffstat (limited to 'gas/doc/c-ip2k.texi')
-rw-r--r-- | gas/doc/c-ip2k.texi | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/gas/doc/c-ip2k.texi b/gas/doc/c-ip2k.texi index bbd8317..c33042b 100644 --- a/gas/doc/c-ip2k.texi +++ b/gas/doc/c-ip2k.texi @@ -1,4 +1,4 @@ -@c Copyright 2002 +@c Copyright 2002, 2011 @c Free Software Foundation, Inc. @c This is part of the GAS manual. @c For copying conditions, see the file as.texinfo. @@ -15,6 +15,7 @@ @cindex IP2K support @menu * IP2K-Opts:: IP2K Options +* IP2K-Syntax:: IP2K Syntax @end menu @node IP2K-Opts @@ -42,5 +43,29 @@ line option. This option restores the assembler's default behaviour of not permitting the extended IP2022 instructions to be assembled. - @end table + +@node IP2K-Syntax +@section IP2K Syntax +@menu +* IP2K-Chars:: Special Characters +@end menu + +@node IP2K-Chars +@subsection Special Characters + +@cindex line comment character, IP2K +@cindex IP2K line comment character +The presence of a @samp{;} on a line indicates the start of a comment +that extends to the end of the current line. + +If a @samp{#} appears as the first character of a line, 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, IP2K +@cindex statement separator, IP2K +@cindex IP2K line separator +The IP2K assembler does not currently support a line separator +character. |