This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Line comments for PPC assembly


Hi Guys,

> Ian Lance Taylor <ian@airs.com> writes:

> "Igor Ageyev" <igor@icrow.digipark.com> writes:
>
>> I guess I misread the gas docs then, because in the "Comments" section it
>> says that semicolon is the line comment character for PowerPC. What is the
>> correct line comment character for PPC, '#'?
>
> You didn't misread the documentation.  It is simply wrong.
>
> Yes, '#' is the comment character for the PowerPC assembler.

I have checked in this patch to update the documentation.

Cheers
        Nick
        
2003-09-07  Nick Clifton  <nickc@redhat.com>

	* doc/as.texinfo (Comments): Comment character for PPC is #.

Index: gas/doc/as.texinfo
===================================================================
RCS file: /cvs/src/src/gas/doc/as.texinfo,v
retrieving revision 1.89
diff -c -3 -p -r1.89 as.texinfo
*** gas/doc/as.texinfo	29 Aug 2003 20:32:56 -0000	1.89
--- gas/doc/as.texinfo	7 Sep 2003 12:21:17 -0000
*************** is considered a comment and is ignored. 
*** 2090,2096 ****
  @samp{;} for picoJava;
  @end ifset
  @ifset PPC
! @samp{;} for Motorola PowerPC;
  @end ifset
  @ifset SH
  @samp{!} for the Renesas / SuperH SH;
--- 2090,2096 ----
  @samp{;} for picoJava;
  @end ifset
  @ifset PPC
! @samp{#} for Motorola PowerPC;
  @end ifset
  @ifset SH
  @samp{!} for the Renesas / SuperH SH;
        


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]