Comment Statements - Panasonic PanaXSeries MN1030 Series User Manual

Panasonic microcomputer user's manual
Table of Contents

Advertisement

Chapter 7 Type of Source Statements
7.6

Comment Statements

The comment statements start from:
1) an asterisk (*) in the beginning of the line
2) a semicolon (;) in the beginning or middle of the line
If you find an asterisk (*) in a line, the whole line is the comment statement.
If you find a semicolon (;) in a line, the sentence after the semicolon is the comment statement.
No matter what a comment is, it will not affect program operation of function. Comments are used to
explain data structures, program algorithms, etc.
Comment statements are an important structural element of documentation. You should add comments
that are detailed as possible to enhance program maintenance.
The example below shows comment statements.
************************************************
*
MN1030 Series Cross-Assembler
*
Sample Program
************************************************
#include
#include
#define
* Program Start
main
124 Comment Statements
"ram.h"
"macro.h"
VERSION
.
.
*
*
;RAM definition file
;macro definition file
;conditional assembly definition

Advertisement

Table of Contents
loading

Table of Contents