X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fdoc%2Fc-i960.texi;h=3bd59b4a4ef9baf6f0634bbceb7235ec8bb2a99c;hb=fe779266b39080e49b04e61160e6af8be439c182;hp=dad2fc4ecbc351ccd17400fd0ce52012017da896;hpb=062b7c0c141b6d28a037c6acf3a822539e701827;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/doc/c-i960.texi b/gas/doc/c-i960.texi index dad2fc4ecb..3bd59b4a4e 100644 --- a/gas/doc/c-i960.texi +++ b/gas/doc/c-i960.texi @@ -1,5 +1,4 @@ -@c Copyright 1991, 1992, 1993, 1994, 1995, 1996 -@c Free Software Foundation, Inc. +@c Copyright (C) 1991-2016 Free Software Foundation, Inc. @c This is part of the GAS manual. @c For copying conditions, see the file as.texinfo. @ifset GENERIC @@ -18,6 +17,7 @@ * Floating Point-i960:: Floating Point * Directives-i960:: i960 Machine Directives * Opcodes for i960:: i960 Opcodes +* Syntax of i960:: i960 Syntax @end menu @c FIXME! Add Syntax sec with discussion of bitfields here, at least so @@ -69,7 +69,7 @@ Label: @var{BR} @end smallexample The counter following a branch records the number of times that branch -was @emph{not} taken; the differenc between the two counters is the +was @emph{not} taken; the difference between the two counters is the number of times the branch @emph{was} taken. @cindex @code{gbr960}, i960 postprocessor @@ -297,3 +297,28 @@ and the instruction pairs they may expand into: cmpobne& cmpojne& cmpo; bne\cr} @end tex @c END TEXI2ROFF-KILL + +@node Syntax of i960 +@section Syntax for the i960 +@menu +* i960-Chars:: Special Characters +@end menu + +@node i960-Chars +@subsection Special Characters + +@cindex line comment character, i960 +@cindex i960 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, i960 +@cindex statement separator, i960 +@cindex i960 line separator +The @samp{;} character can be used to separate statements on the same +line.