aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/c-msp430.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gas/doc/c-msp430.texi')
-rw-r--r--gas/doc/c-msp430.texi16
1 files changed, 14 insertions, 2 deletions
diff --git a/gas/doc/c-msp430.texi b/gas/doc/c-msp430.texi
index 09ce9f0..e5db407 100644
--- a/gas/doc/c-msp430.texi
+++ b/gas/doc/c-msp430.texi
@@ -1,4 +1,4 @@
-@c Copyright 2002, 2004, 2005 Free Software Foundation, Inc.
+@c Copyright 2002, 2004, 2005, 2011 Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
@ifset GENERIC
@@ -85,7 +85,19 @@ They normally being used as an immediate source operand.
@cindex line comment character, MSP 430
@cindex MSP 430 line comment character
-@samp{;} is the line comment character.
+A semicolon (@samp{;}) appearing anywhere on a line starts 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 it can also be a logical line number
+directive (@pxref{Comments}) or a preprocessor control command
+(@pxref{Preprocessing}).
+
+@cindex line separator, MSP 430
+@cindex statement separator, MSP 430
+@cindex MSP 430 line separator
+Multiple statements can appear on the same line provided that they are
+separated by the @samp{@{} character.
@cindex identifiers, MSP 430
@cindex MSP 430 identifiers