Crossware

Table of Contents        Previous topic       Next topic       

CROSS ASSEMBLER->Assembler Source Code Format->Comment Field

The comment field follows the operand field or if an operand field is not required by the operation, it follows the operation field.  It is separated from the operand or opcode by one or more spaces and must start with a semi-colon. The comment field may contain any number of spaces.

The assembler ignores the comment field except when sending the assembly listing to the list device.

Care should be taken not to accidentally include a space character in the operand since the rest of the operand will then be treated as the comment field and ignored.  This will often generate an assembly error because the operand is not correct.  However, if the part of the operand preceding the space character is a correct operand in its own right then an error message will not be generated.