avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] searching for avr-gcc assembler reference


From: J Wunsch
Subject: Re: [avr-gcc-list] searching for avr-gcc assembler reference
Date: Tue Jan 16 05:38:05 2001

Thomas Buchta <address@hidden> wrote:

>Im serching for a documentation or reference list of the avr-gcc 
>assembler.

There's a documentation for gas (the GNU assembler) available in
texinfo format.  You need an `info' browser to read it.  Emacs has a
builtin one, there's also a separate tool named `info'.  Don't know
about DOS/Windows tools.

>Is there any other reference such as the 'AVR for Dummies' 
>reference list. Im looking for syntax to generate big macros in assembler 
>code and how to call an extern C-function in assembler?

gas is mainly intended to be a backend assembler for high-level
languages.  It doesn't seem to have the ability to use macros.

As for calling an external C function, it's probably best to have a
look into the compiler-generated assembler code.

The other way around might be more suitable: write all the framework
in C, and include your assembler code for time-critical functions
inside a C function as `asm("...");'.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden         http://www.interface-systems.de/~j



reply via email to

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