X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fdoc%2Fc-mmix.texi;h=91cf1e30ca4ea8977104cf2a0129a3032e739056;hb=d26a14db86600ccc1f05cbe35d99c6995475c271;hp=a5205b61fc764645cd27ecf5a473ff5c3bf2a527;hpb=88fc725d2fa9234fef229e80472740610172421b;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/doc/c-mmix.texi b/gas/doc/c-mmix.texi index a5205b61fc..91cf1e30ca 100644 --- a/gas/doc/c-mmix.texi +++ b/gas/doc/c-mmix.texi @@ -1,4 +1,4 @@ -@c Copyright 2001, 2002 Free Software Foundation, Inc. +@c Copyright (C) 2001-2016 Free Software Foundation, Inc. @c This is part of the GAS manual. @c For copying conditions, see the file as.texinfo. @c MMIX description by Hans-Peter Nilsson, hp@bitrange.com @@ -172,7 +172,10 @@ specified, the rest of the line is ignored, treated as a comment. The characters @samp{*} and @samp{#} are line comment characters; each start a comment at the beginning of a line, but only at the beginning of a line. A @samp{#} prefixes a hexadecimal number if found elsewhere on a -line. +line. If a @samp{#} appears at the start of a line the whole line is +treated as a comment, but the line can also act as a logical line +number directive (@pxref{Comments}) or a preprocessor control command +(@pxref{Preprocessing}). Two other characters, @samp{%} and @samp{!}, each start a comment anywhere on the line. Thus you can't use the @samp{modulus} and @samp{not} @@ -443,7 +446,7 @@ operand can be omitted, defaulting to a zero value. The directives @samp{WYDE}, @samp{TETRA} and @samp{OCTA} emit constants of two, four and eight bytes size respectively. Before anything else happens for the directive, the current location is aligned to the respective -constant-size bondary. If a label is defined at the beginning of the +constant-size boundary. If a label is defined at the beginning of the line, its value will be that after the alignment. A single operand can be omitted, defaulting to a zero value emitted for the directive. Operands can be expressed as strings (@pxref{Strings}), in which case each @@ -530,7 +533,7 @@ Operand syntax is a bit stricter with @code{@value{AS}} than must write @code{addu $1,$2,3}. You can't LOC to a lower address than those already visited -(i.e. ``backwards''). +(i.e., ``backwards''). A LOC directive must come before any emitted code.