[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: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] How to do multi-line assembler macros? |
Date: |
Wed, 10 Sep 2003 09:10:45 +0200 (MET DST) |
As Brian Dean <address@hidden> wrote:
>> 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.
I've been doing that once as well. If you look into some file in
avr-libc (IIRC it's dtostre.S or one of its include files), you'll
find a mix from CPP and assembler macros, since i didn't knew about
that feature by that time. I merely stumbled across it some day when
looking into the gas sources.
That's the sad thing, whoever ported gas to the AVR (Denis, i'd guess)
did /zero/ documentation about the machine-specific details. The
AVR-specific pseudo ops aren't documented anywhere either.
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
Re: [avr-gcc-list] How to do multi-line assembler macros?, Brian Dean, 2003/09/09
- Re: [avr-gcc-list] How to do multi-line assembler macros?,
Joerg Wunsch <=
- [avr-gcc-list] Handling interrupts in assembler - how?, Michal Vanka, 2003/09/17
- Re: [avr-gcc-list] Handling interrupts in assembler - how?, Artur Lipowski, 2003/09/17
- Re: [avr-gcc-list] Handling interrupts in assembler - how?, Michal Vanka, 2003/09/17
- Re: [avr-gcc-list] Handling interrupts in assembler - how?, Artur Lipowski, 2003/09/17
- Re: [avr-gcc-list] Handling interrupts in assembler - how?, Michal Vanka, 2003/09/17
- Re: [avr-gcc-list] Handling interrupts in assembler - how?, Artur Lipowski, 2003/09/17
Re: [avr-gcc-list] Handling interrupts in assembler - how?, Julius Luukko, 2003/09/17
[avr-gcc-list] How to do multi-line assembler macros?, Oleksandr Redchuk, 2003/09/09