Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

AVR Studio 4 include statement

2005-03-27 by Geert De Pecker

Hi all,

I have a question concerning the .include statement in the AVR studio.
It would seem the includes are not processed before the assembler 
statements itself are processed:

...

rcall Delay

...

.include "Delay.asm"

does not compile and given the error that "Delay" is undefined while
this routine is defined in the "Delay.asm" file.

The only solution I see is to put all include files before real
processing starts, but this isn't a nice solution. Any hints?

Regards,

Geert

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.