|
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:
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. ;-)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.
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
[Prev in Thread] | Current Thread | [Next in Thread] |