[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] How to do multi-line assembler macros?

From: Brian Dean
Subject: Re: [avr-gcc-list] How to do multi-line assembler macros?
Date: Tue, 9 Sep 2003 18:03:50 -0400
User-agent: Mutt/1.4.1i

On Tue, Sep 09, 2003 at 07:54:55PM +0200, Joerg Wunsch wrote:

> IIRC, the $ sign is used as a logical line terminator.
> Yep.  How's that proverb?  ``All documentation files usually end up in
> .c.''  This is from gas/config/tc-avr:
> const char comment_chars[] = ";";
> const char line_comment_chars[] = "#";
> const char line_separator_chars[] = "$";

Ah, excellent!  Thanks Joerg!  I new there had to be a way to do this
using the C preprocessor.  I did already figure out how to use the
'.macro' directive as a work around.  But I'll probably go back to the
C pp since that's what I'm most familiar with.

Brian Dean, address@hidden
BDMICRO - Maker of the MAVRIC ATmega128 Dev Board

reply via email to

[Prev in Thread] Current Thread [Next in Thread]