<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/avra/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/avra/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/avra/bugs/</id><updated>2016-11-10T01:38:46.208000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#78 AVRA bug on comment line</title><link href="https://sourceforge.net/p/avra/bugs/78/?limit=25#6a45" rel="alternate"/><published>2016-11-10T01:38:46.208000Z</published><updated>2016-11-10T01:38:46.208000Z</updated><author><name>Wagner Lipnharski</name><uri>https://sourceforge.net/u/wagnerlip/</uri></author><id>https://sourceforge.net1c913ac85a033fe413cc81c73af27d32c12ae058</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;wow, the format of the post changed completely my text. &lt;br/&gt;
Each backslash above terminates a line, it concatenate the lines.&lt;br/&gt;
The text "Also consider the possibility to understand //" is in real slash+star   star+slash&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>AVRA bug on comment line</title><link href="https://sourceforge.net/p/avra/bugs/78/" rel="alternate"/><published>2016-11-10T01:35:32.899000Z</published><updated>2016-11-10T01:35:32.899000Z</updated><author><name>Wagner Lipnharski</name><uri>https://sourceforge.net/u/wagnerlip/</uri></author><id>https://sourceforge.netb497657aab4da4df59afccc013cbbd9cfe029df2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;AVRA: advanced AVR macro assembler Version 1.3.0 Build 1 (8 May 2010)&lt;br/&gt;
Running on Linux Mint.&lt;/p&gt;
&lt;p&gt;The following causes &lt;strong&gt;"Error:  Line Too Long"&lt;/strong&gt;&lt;br/&gt;
The happens because the attempt to concatenate several lines and becoming a long line, even so AVRASM can deal with.  The problem itself is not only the long line concatenation issue, but by the fact that &lt;strong&gt;it is a "commented line"&lt;/strong&gt;, the assembler should not even think to deal with.&lt;/p&gt;
&lt;p&gt;;   .DB $00,$00,$00,$0F,$FC,$00,$0F,$FC,$00,$0F,$FC,$00,\
;   $0F,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00,\
;   $00,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00,\
;   $00,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00,\
;   $00,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00,\
;   $00,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00,\
;   $00,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00,\
;   $00,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00,\
;   $00,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00,\
;   $00,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00&lt;br/&gt;
;   $00,$FC,$00,$00,$FC,$00,$00,$FC,$00,$00,$FC,$00&lt;br/&gt;
;   $00,$FC,$00,$00,$FC,$00,$00,$00,$00,255&lt;/p&gt;
&lt;p&gt;Another problem found is each "\" at the end of a commented line, AVRA reduce one in the line number posted on error messages.  It consider two lines in one.  This is a problem when trying to locate the error, the report points to a wrong line.&lt;/p&gt;
&lt;p&gt;"\" on comment lines should not be processed as a split line, it can be part of the comment.&lt;/p&gt;
&lt;p&gt;Also consider the possibility to understand /&lt;em&gt; &lt;/em&gt;/ as comment, it is very usefull to temporarily eliminate several lines of the program by simply encapsulating it in &lt;/p&gt;
&lt;p&gt;/&lt;em&gt;&lt;br/&gt;
comment lines&lt;/em&gt;/ &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>[file.c:141]: (error) Memory leak: buff</title><link href="https://sourceforge.net/p/avra/bugs/77/" rel="alternate"/><published>2016-02-13T13:48:26.928000Z</published><updated>2016-02-13T13:48:26.928000Z</updated><author><name>dcb</name><uri>https://sourceforge.net/u/dcb314/</uri></author><id>https://sourceforge.netc13ad1eb70026345ec340884bc73ea1adf24b529</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;$ fgrep -n buff ../BUILD/avra-1.3.0/file.c | egrep "malloc|free"&lt;br/&gt;
47: buff = malloc(length + 9);&lt;br/&gt;
98:  free(buff);&lt;br/&gt;
116:    buff = malloc(length + 9);&lt;br/&gt;
$&lt;/p&gt;
&lt;p&gt;Suggest add missing call to free.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>avra 1.3.0 INSTALL and README are misleading</title><link href="https://sourceforge.net/p/avra/bugs/76/" rel="alternate"/><published>2015-02-14T19:50:20.649000Z</published><updated>2015-02-14T19:50:20.649000Z</updated><author><name>Die reine Gier</name><uri>https://sourceforge.net/u/diereinegier/</uri></author><id>https://sourceforge.net124796c5a19c3250278fc1598d674d42c2a4085c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;INSTALL and README are misleading. They mention a script that just isn't there.&lt;br /&gt;
Only the instructions in the file "Build" are valid.&lt;/p&gt;
&lt;p&gt;I had to rebuild twice or thrice to recover from missing packages. A littel slow on a raspberry pi. Why wouldn't you use "make"? &lt;/p&gt;
&lt;p&gt;To me it seems that you used automake and autobuild in previous Releases, didn't you?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#75 avra 1.3.0, assemble problem on Mac OS, Linux OK</title><link href="https://sourceforge.net/p/avra/bugs/75/?limit=25#8c74" rel="alternate"/><published>2015-01-22T07:30:14.988000Z</published><updated>2015-01-22T07:30:14.988000Z</updated><author><name>Olal</name><uri>https://sourceforge.net/u/olalid/</uri></author><id>https://sourceforge.netdaa17f8e7c21343dbda8eaf6c44096e4118133fb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You are not doing anything wrong, this is the bug in avra.&lt;br /&gt;
It uses strcpy in an unsupported way in one place in the code, Linux is more forgiving on this.&lt;br /&gt;
I have uploaded a patch for this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>avra 1.3.0, assemble problem on Mac OS, Linux OK</title><link href="https://sourceforge.net/p/avra/bugs/75/" rel="alternate"/><published>2014-11-01T09:14:14.524000Z</published><updated>2014-11-01T09:14:14.524000Z</updated><author><name>Rudy</name><uri>https://sourceforge.net/u/reuterr/</uri></author><id>https://sourceforge.net3ef0fd834d6d68a593988828d7a9df98bfd01010</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I wanted to assemble &lt;a href="https://github.com/sim-/tgy" rel="nofollow"&gt;https://github.com/sim-/tgy&lt;/a&gt; under Mac OS 10.9.5, error:&lt;br /&gt;
make tgy.hex&lt;br /&gt;
Pass 1...&lt;br /&gt;
/bin/bash: line 1:   729 Abort trap: 6           avra -fI -o tgy.hex -D tgy_esc -e tgy.eeprom -d tgy.obj tgy.asm 2&amp;gt;&amp;amp;1&lt;br /&gt;
       730 Done                    | grep -v 'PRAGMA directives currently ignored'&lt;br /&gt;
make: *** &lt;span&gt;[tgy.hex]&lt;/span&gt; Error 134&lt;/p&gt;
&lt;p&gt;When I do the same thing under Linux (Ubuntu 14.04), it works OK.&lt;/p&gt;
&lt;p&gt;What I am doing wrong under Mac OS with avra?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#74 .ifndef fails in avra 1.3.0</title><link href="https://sourceforge.net/p/avra/bugs/74/?limit=50#8c68" rel="alternate"/><published>2013-10-12T09:27:10.239000Z</published><updated>2013-10-12T09:27:10.239000Z</updated><author><name>Carlo V.</name><uri>https://sourceforge.net/u/silhusk/</uri></author><id>https://sourceforge.net6c46906e6516c57dd908e502ad8f1dd3b3a67adc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The small change in the attached patch should fix the problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#73 ATtiny10 _does_ support LD</title><link href="https://sourceforge.net/p/avra/bugs/73/?limit=25#33b7" rel="alternate"/><published>2013-09-07T03:57:34.583000Z</published><updated>2013-09-07T03:57:34.583000Z</updated><author><name>Milan Kupcevic</name><uri>https://sourceforge.net/u/micok/</uri></author><id>https://sourceforge.netd1a3c3be1b0d5b9d0686cedf4bff1511aa3e848b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ATtiny4, ATtiny5, ATtiny9 and ATtiny10 use AVR8L instruction set &lt;span&gt;[0]&lt;/span&gt;. Find patches for avra code and header/definition files in Tickets/Patches ticket #14 &lt;span&gt;[1]&lt;/span&gt;:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[0]&lt;/span&gt; &lt;a href="http://www.wrightflyer.co.uk/asm/Html/ATtiny10_Instruction_Set.htm" rel="nofollow"&gt;http://www.wrightflyer.co.uk/asm/Html/ATtiny10_Instruction_Set.htm&lt;/a&gt;&lt;br /&gt;
&lt;span&gt;[1]&lt;/span&gt; &lt;a href="https://sourceforge.net/p/avra/patches/14/"&gt;https://sourceforge.net/p/avra/patches/14/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>.ifndef fails in avra 1.3.0</title><link href="https://sourceforge.net/p/avra/bugs/74/" rel="alternate"/><published>2013-01-27T18:59:01Z</published><updated>2013-01-27T18:59:01Z</updated><author><name>boetti</name><uri>https://sourceforge.net/u/boetti/</uri></author><id>https://sourceforge.neta2f0068ed9aeee75c88fd78e6668c89791ba8beb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;See the attached code. "ticdely" is defined but avra in version 1.3.0 won't detect that, the .ifndef directive is true and show me the .message. The same code on avra 1.2.3 works well. &lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; avra 1.3.0 &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
boetti@dan:/data0/ramdisk/CF_TEST$ /opt/cf/bin/avra ticdel.asm &lt;br /&gt;
AVRA: advanced AVR macro assembler Version 1.3.0 Build 1 (8 May 2010)&lt;/p&gt;
&lt;p&gt;AVRA is an open source assembler ............&lt;/p&gt;
&lt;p&gt;Pass 1...&lt;br /&gt;
Pass 2...&lt;br /&gt;
ticdel.asm(18) : WARN: Kein ticdelay fuer FM Blink definiert &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Should not be showed&lt;br /&gt;
done&lt;/p&gt;
&lt;p&gt;Used memory blocks:&lt;br /&gt;
Code      :  Start = 0x009F, End = 0x00A0, Length = 0x0002&lt;br /&gt;
Data      :  Start = 0x0069, End = 0x0069, Length = 0x0001&lt;/p&gt;
&lt;p&gt;Assembly complete with no errors.&lt;br /&gt;
Segment usage:&lt;br /&gt;
Code      :         2 words (4 bytes)&lt;br /&gt;
Data      :         1 bytes&lt;br /&gt;
EEPROM    :         0 bytes&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The same code asembled by Ver. 1.2.3 &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &lt;br /&gt;
boetti@dan:/data0/ramdisk/CF_TEST$ /usr/bin/avra ticdel.asm &lt;br /&gt;
AVRA: advanced AVR macro assembler Version 1.2.3 Build 1 (15. November 2007)&lt;br /&gt;
Copyright (C) 1998-2007. Check out README file for more info&lt;/p&gt;
&lt;p&gt;AVRA is an open source assembler ............&lt;/p&gt;
&lt;p&gt;Pass 1...&lt;br /&gt;
Pass 2...&lt;br /&gt;
done&lt;/p&gt;
&lt;p&gt;Used memory blocks:&lt;br /&gt;
Code      :  Start = 0x009F, End = 0x00A0, Length = 0x0002&lt;br /&gt;
Data      :  Start = 0x0069, End = 0x0069, Length = 0x0001&lt;/p&gt;
&lt;p&gt;Assembly complete with no errors.&lt;br /&gt;
Segment usage:&lt;br /&gt;
Code      :         2 words (4 bytes)&lt;br /&gt;
Data      :         1 bytes&lt;br /&gt;
EEPROM    :         0 bytes&lt;br /&gt;
boetti@dan:/data0/ramdisk/CF_TEST$ &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ATtiny10 _does_ support LD</title><link href="https://sourceforge.net/p/avra/bugs/73/" rel="alternate"/><published>2012-08-05T17:16:53Z</published><updated>2012-08-05T17:16:53Z</updated><author><name>JWC</name><uri>https://sourceforge.net/u/jwcxz/</uri></author><id>https://sourceforge.net86b53829badb8fe62867bf8787645468e2e914c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a line of code as follows:&lt;/p&gt;
&lt;p&gt;LD r16, Z+&lt;/p&gt;
&lt;p&gt;The code is being assembled for the ATtiny10&lt;/p&gt;
&lt;p&gt;avra claims:&lt;br /&gt;
Error   : LD instruction is not supported on ATtiny10&lt;/p&gt;
&lt;p&gt;But, this is not true, as you can see from the instruction set:&lt;br /&gt;
&lt;a href="http://www.wrightflyer.co.uk/asm/Html/LD.html" rel="nofollow"&gt;http://www.wrightflyer.co.uk/asm/Html/LD.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As well as in example code:&lt;br /&gt;
&lt;a href="https://github.com/scott-42/iCufflinks/blob/master/Firmware/cuff.asm#L55" rel="nofollow"&gt;https://github.com/scott-42/iCufflinks/blob/master/Firmware/cuff.asm#L55&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>