EasyManua.ls Logo

Panasonic PanaXSeries MN1030 Series - Comment Statements

Panasonic PanaXSeries MN1030 Series
340 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7 Type of Source Statements
124 Comment 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 “ram.h” ;RAM definition file
#include “macro.h” ;macro definition file
#define VERSION ;conditional assembly definition
* Program Start
main
.
.

Table of Contents

Related product manuals