Forum: www.mikrocontroller.net Wiki: Syntax-Highlight für <avrasm>


von Johann L. (gjlayde) Benutzerseite


Lesenswert?

Hi, beim Syntax-Highlight in <avrasm> werden manche ein- und mehrzeilige 
Kommentage nicht wie Kommentare dargestellt, siehe
   Testseite: AVR-asm Syntax-Highlight

von Gast (Gast)


Lesenswert?

ja, weil es in asm falsch ist, kommentare so zu machen.

von Läubi .. (laeubi) Benutzerseite


Lesenswert?

Gast schrieb:
> ja, weil es in asm falsch ist, kommentare so zu machen.

Was soll den der Komentar? in AVRASM (ab Version 2) ist es sehr wohl 
möglich und erlaubt auf diese Weise einen Kommentar einzuleiten...
1
Comments
2
In addition to the classic assembler comments starting with ';', AVRASM2 recognizes C-style comments. The following comment styles are recognized:
3
4
;   The rest of the line is a comment (classic assembler comment) 
5
//  Like ';', the rest of the line is a comment 
6
/*  Block comment; the enclosed text is a comment, may span multiple lines. 
7
    This style of comments cannot be nested. */

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.