EasyManua.ls Logo

Panasonic PanaXSeries MN1030 Series - Assembler Control 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
122 Assembler Control Statements
7.4 Assembler Control Statements
Assembler control statements are source statements that control how the assembler processes.
The assembler provides include directives that include files and conditional assembly directives that
specify conditions for changing which instructions are assembled.
The example below shows assembler control statements.
#include “FILE1.ASM ;include a file
#define MODE ;define an identifier
.
.
.
#ifdef MODE ;begin conditional assembly
mov 0x22, D0 ;block to assemble if condition is fulfilled
#else
mov 0x11, D0 ;block to assemble if unfulfilled
#endif
.
.
.

Table of Contents

Related product manuals