EasyManua.ls Logo

Panasonic PanaXSeries MN1030 Series - Page 197

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 10 Writing Assembler Control Statements
File Inclusion 185
Usage example
The following example illustrates the use of an include file.
The file inc.h consists of the following statement.
The file to be assembled consists of the following statements.
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.
data equ 0x12
#include “inc.h”
_TEXT section CODE, PUBLIC, 1
main
mov data, A0
mov 0x34, D0
mov D0, (A0)
end

Table of Contents

Related product manuals