Share

avra - Atmel AVR Assembler

Code

Programming Languages: C

License: GNU General Public License (GPL)

Repositories

browse code, statistics, last commit on 2007-11-26 cvs -d:pserver:anonymous@avra.cvs.sourceforge.net:/cvsroot/avra login

cvs -z3 -d:pserver:anonymous@avra.cvs.sourceforge.net:/cvsroot/avra co -P modulename

Show:

What's happening?

  • Labels defined as macro arguments

    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

  • .undef does not undefine

    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

  • avra - Atmel AVR Assembler

    tobias-weber added petrus69 to the avra - Atmel AVR Assembler project.

    2009-08-24 12:20:26 UTC by tobias-weber

  • Generated Makefile and binary in source package

    Please do not ship the generated Makefile and the binary in the source package as it makes a proper packaging for distributions (Debian in my case) more complicated. I don't see any reason having these shipped in the (architecture-independed) source package. Also the (hidden) directory .deps seems to be a leftover from a build. This report refers to avra 1.2.3. Cheers, Tobias (tklauser...

    2008-12-22 11:55:18 UTC by nobody

  • AddressOf operator for registers

    Hi, I think it would be nice to have an AddressOf operator for registers that returns the register number for a register alias, to be used sililarly to & operator in C. The assembler code could look like this: .def alias = R16 ... ldi R17, [alias] ;loads 16 into R17 In this example, [] is the AddressOf operator. It could be used to access registers using ld/st, e.g. when calling a...

    2008-06-21 19:57:10 UTC by nobody

  • parser does not continue lines

    The common mechanism for line cintinuation with backslash as the last character of a line (to continue it in next source line) does not work. Example: .db 1, 2, 3, \ 4, 5, 6 Since this is a common mechanism and supported by avrasm, it should be supported by avra as well. Demo patch is attached.

    2008-05-23 15:54:42 UTC by nobody

  • "low (5)" does not work

    avra-1.2.3: Currently AVRA will not detect functions with one or more whitespace characters between function name and open bracket, i.e. it will not compile low (5) but only low(5) This is annoying since it forces a programming style! It is also a deviation to avrasm. Patch is attached.

    2008-05-23 14:18:36 UTC by nobody

  • Forward reference for .ifndef

    Since version 1.2.0 (according to changelog) forward references are not allowed anymore for .ifndef But this is a bug, since it should be possible to define sth. only if it is not yet defined. This is a common programming technique! Example: It must be possible to define ABC only if it is not yet defined, like .ifndef ABC .equ ABC = 5 .endif.

    2008-05-23 14:04:44 UTC by nobody

  • Comment: atmega 8515

    This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).

    2008-05-15 02:20:13 UTC by sf-robot

  • Comment: atmega 8515

    Yes that is basically all you have to do. Many thanks for the code sniplet. I will add it into the next release. Regards, Tobias.

    2008-04-30 19:13:55 UTC by tobias-weber