avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] error in inline assembler docu found at: http://www.n


From: Harald Kipp
Subject: Re: [avr-gcc-list] error in inline assembler docu found at: http://www.nongnu.org/avr-libc/user-manual/inline_asm.html
Date: Thu, 30 Aug 2007 13:38:43 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Johannes Krude schrieb:
hi,
as the author of http://www.nongnu.org/avr-libc/user-manual/inline_asm.html stated:" a wrong documentation sometimes might be worse than none", this is definitly true for this documentation.
As no document existed to that time (more than 5 years ago), I thought it would be a good idea to write down what I found out by studying the compiler sources. Obviously I disproved myself. ;-)

The documentation stats: "The linefeed and tab characters will make the assembler listing generated by the compiler more readable", this is far from the truth, instead the compiler relies on the linefeed and tabs. If you omit the linefeeds and tabs the compiler complains about: "garbage at end of line"
My intention was to explain the odd looking sequence, adding a tab at the end. That trailing tab makes the listing more readable. I took it for granted, that the line feed is required. Possibly a problem of not being a good English speaker.

Harald





reply via email to

[Prev in Thread] Current Thread [Next in Thread]