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


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, '#'?

Thank you,
Igor Ageyev

----- Original Message ----- 
From: "Alan Modra" <amodra@bigpond.net.au>
To: "Igor Ageyev" <igor@icrow.digipark.com>
Cc: <binutils@sources.redhat.com>
Sent: Friday, September 05, 2003 10:36 PM
Subject: Re: Line comments for PPC assembly


> On Fri, Sep 05, 2003 at 11:05:09AM -0700, Igor Ageyev wrote:
> > I thought that for PPC, ';' is a valid start-of-comment
> > character, but assembler fails:
>
> No, a semicolon is a command separator.  Used for example, like this:
>
>  .pushsection abc; .long 123; .popsection
>
> -- 
> Alan Modra
> IBM OzLabs - Linux Technology Centre
>



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