X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fdoc%2Fc-vax.texi;h=e5b92689d807841f05fdf15ddb2a016ffc9e5238;hb=6dbdab44e57d21c895ef60246d0e7aadb3c076a4;hp=b13d7e5a49330314ab9ae7f9fa30bfabf05ec302;hpb=27e232885db363fb545fd2f450e72d929e59b8f6;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/doc/c-vax.texi b/gas/doc/c-vax.texi index b13d7e5a49..e5b92689d8 100644 --- a/gas/doc/c-vax.texi +++ b/gas/doc/c-vax.texi @@ -1,7 +1,7 @@ -@c Copyright (C) 1991, 92, 93, 94, 95, 96, 1998 Free Software Foundation, Inc. +@c Copyright (C) 1991-2020 Free Software Foundation, Inc. @c This is part of the GAS manual. @c For copying conditions, see the file as.texinfo. -@c VAX/VMS description exhanced and corrected by Klaus K"aempf, kkaempf@progis.de +@c VAX/VMS description enhanced and corrected by Klaus K"aempf, kkaempf@progis.de @ifset GENERIC @node Vax-Dependent @chapter VAX Dependent Features @@ -23,6 +23,7 @@ * VAX-branch:: VAX Branch Improvement * VAX-operands:: VAX Operands * VAX-no:: Not Supported on VAX +* VAX-Syntax:: VAX Syntax @end menu @@ -49,7 +50,7 @@ These are obsolete options used to debug old assemblers. @item @code{-d} (Displacement size for JUMPs) This option expects a number following the @samp{-d}. Like options that expect filenames, the number may immediately follow the -@samp{-d} (old standard) or constitute the whole of the command line +@samp{-d} (old standard) or constitute the whole of the command-line argument that follows @samp{-d} (@sc{gnu} standard). @cindex @code{-V}, redundant on VAX @@ -355,3 +356,28 @@ separated. @cindex bitfields, not supported on VAX Vax bit fields can not be assembled with @code{@value{AS}}. Someone can add the required code if they really need it. + +@node VAX-Syntax +@section VAX Syntax +@menu +* VAX-Chars:: Special Characters +@end menu + +@node VAX-Chars +@subsection Special Characters + +@cindex line comment character, VAX +@cindex VAX 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, VAX +@cindex statement separator, VAX +@cindex VAX line separator +The @samp{;} character can be used to separate statements on the same +line.