Panasonic PanaXSeries MN1030 Series User Manual page 197

Panasonic microcomputer user's manual
Table of Contents

Advertisement

Usage example
The following example illustrates the use of an include file.
The file inc.h consists of the following statement.
data
equ
The file to be assembled consists of the following statements.
#include
"inc.h"
_TEXT
section
main
mov
mov
mov
end
The above file is assembled with the file inc.h included. For this reason, at points after the #include
statement, the operand data is interpreted as the numerical value 0x12.
0x12
CODE, PUBLIC, 1
data, A0
0x34, D0
D0, (A0)
Chapter 10 Writing Assembler Control Statements
File Inclusion 185

Advertisement

Table of Contents
loading

Table of Contents