Hi!

I'm trying to assemble the simplest program with Avra. I'm not sure I'm
using it right.

This is the program I am trying to assemble:

----------------------------
includepath "/usr/share/avra"  ; tell avra where its include files are, because 
it doesn't know
nolist
include "m32def.inc"
list

test:
    ; do nothing...
    nop
    ret
----------------------------

And this is the output I get:

----------------------------
$ /usr/local/bin/avra stuff.asm 
AVRA: advanced AVR macro assembler Version 1.3.0 Build 1 (8 May 2010)
Copyright (C) 1998-2010. Check out README file for more info

   AVRA is an open source assembler for Atmel AVR microcontroller family
   It can be used as a replacement of 'AVRASM32.EXE' the original assembler
   shipped with AVR Studio. We do not guarantee full compatibility for avra.

   AVRA comes with NO WARRANTY, to the extent permitted by law.
   You may redistribute copies of avra under the terms
   of the GNU General Public License.
   For more information about these matters, see the files named COPYING.

Pass 1...
/usr/share/avra/m32def.inc(44) : PRAGMA directives currently ignored
/usr/share/avra/m32def.inc(48) : PRAGMA directives currently ignored
/usr/share/avra/m32def.inc(53) : PRAGMA directives currently ignored
/usr/share/avra/m32def.inc(461) : Error   : Line to long
/usr/share/avra/m32def.inc: No such file or directory
----------------------------

Interesting... First it complains that the 'line is to long', then it
tells me that the file which contains the line doesn't exist.

What am I doing wrong?

 - T.





------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Avra-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avra-user

Reply via email to