Download MPLAB® Assembler, Linker and Utilities for PIC32 MCUs User's Guide

Transcript
32-Bit Assembler, Linker and Utilities User’s Guide
4.3.5
Comments
Comments can be represented in the assembler in one of two ways described below.
4.3.5.1
SINGLE LINE COMMENT
This type of comment extends from the comment character to the end of the line. For
a single line comment, use a number/hash sign (#).
Note:
4.3.5.2
This comment character differs from the character recognized by the
MPASM assembler and the MPLAB Assembler for PIC24 MCUs and
dsPIC® DSCs.
MULTILINE COMMENT
This type of comment can span multiple lines. For a multi-line comment, use
/* ... */. These comments cannot be nested.
Example:
/* All
of these
lines
are
comments */
DS51833A-page 56
© 2009 Microchip Technology Inc.