-
Dear all,
the maintainer was so kind to include the AVR000.zip with the definitions from Atmel.
Unfortunately these definitions don't work with AVRA out of the box.
Just an example with m32def.inc
First, #ifndef, #define and #endif in m32inc.def is not understood.
/usr/include/avra/m32def.inc(40) : Error : Unknown mnemonic/macro: #ifndef
This needs to be changed to .ifndef...
2009-12-13 13:15:39 UTC by davewebb8211
-
An argument used to define a label within a macro does not work as expected. Consider the following macro:
.macro deflabel
@0:
.endm
One would expect the invocation:
deflabel RightHere
to generate
Righthere:
But it doesn't. This can be gotten around by redefining the macro as:
.macro genlabel
.equ @0 = PC
.endm
So it's not a stopper, but the behavior is...
2009-10-13 03:30:35 UTC by nobody
-
The attached code snippet shows register aliases being defined, then undefined. Although undefined, re-use of the register generates a warning message and the definition can still be referenced. It seems almost as if .undef does nothing.
2009-10-13 03:21:57 UTC by nobody
-
tobias-weber added petrus69 to the avra - Atmel AVR Assembler project.
2009-08-24 12:20:26 UTC by tobias-weber