"juan antonio jimenez martinez" <[EMAIL PROTECTED]> wrote:

> ..., do you know where is a page in the which one shows how to
> include a purely asm file in a C project, ...

Well, not as the complete one you desire, probably.

The FAQ has an entry about the register conventions, so that basically
defines your ABI to stick to.  Also, the avr-libc docs have a chapter
about assembly programming (not the inline asm one).

As for your project, you need to put all that into a single file
ending in .S (a capital letter S), and tell your project management
(i.e. probably your Makefile) about that.

> Another thing, is there a document different from the winavr guide
> in the wich one its explained inline assembler?

There's still the original GCC documentation, but it's pretty generic,
and not targeted towards a particular processor type.  I think the
stuff in the avr-libc docs is the best you could get, as it is both,
targeted to the AVR, as well as rather exhaustive.  What's your
problem with that?

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to