3.10. Comments

Comments are pieces of the program that are ignored by the assembler. Kick Assembler supports line and block comments known from languages such as C++ and Java. When the assembler sees ‘//’ it ignores the rest of that line. C block comments ignores everything between /* and */.

/*----------------------------------------------------------
This little program is made to demonstrate comments
------------------------------------------------------------*/
        lda #10
        sta $d020  // This is also a comment 
        sta /* Comments can be placed anywhere */ $d021
        rts

Traditional 65xx assembler line comments (;) are not supported since the semicolon is used in for-loops in the script language.