X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fdoc%2Fc-i960.texi;h=3bd59b4a4ef9baf6f0634bbceb7235ec8bb2a99c;hb=934c26326909f953aaa15edb423dd4af6f33c448;hp=177030ab0bec2173834e300e6dde38ef85f3fb31;hpb=dc9e099fc0eced486ae2b49455c9da113c11f4ff;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/doc/c-i960.texi b/gas/doc/c-i960.texi index 177030ab0b..3bd59b4a4e 100644 --- a/gas/doc/c-i960.texi +++ b/gas/doc/c-i960.texi @@ -1,4 +1,4 @@ -@c Copyright (C) 1991, 1992, 1993, 1994, 1995 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 @@ -17,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 @@ -68,14 +69,14 @@ 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 @cindex branch statistics table, i960 A table of every such @code{Label} is also generated, so that the external postprocessor @code{gbr960} (supplied by Intel) can locate all -the counters. This table is always labelled @samp{__BRANCH_TABLE__}; +the counters. This table is always labeled @samp{__BRANCH_TABLE__}; this is a local symbol to permit collecting statistics for many separate object files. The table is word aligned, and begins with a two-word header. The first word, initialized to 0, is used in maintaining linked @@ -296,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.