EasyManua.ls Logo

Panasonic PanaXSeries MN1030 Series - Page 216

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
204 Conditional Assembly
The assembled list file is shown below. Where the characters debug_on have been specified, block 2
is assembled. Where the null character has been specified, block 1 is assembled.
ifb.lst Page 1
*** PanaX Series MN1030 Cross Assembler ***
Loc Object Line Source
1 global check,proc
2;
M3 debug macro string
4 #ifb string
5 jsr check
6 jsr proc
7 #else
8 jsr proc
9 #endif
10 endm
11 ;
12 _TEXT section CODE, PUBLIC, 1
13 #define MODE debug_on
M14 debug MODE
14+ #ifb debug_on
14X jsr check
14X jsr proc
14+ #else
00000000 F8FEFCFCFF000000 +14+ jsr proc
00000008 00F8FE04 14+
14+ #endif
15 #undef MODE
16 #define MODE
M17 debug MODE
17+ #ifb
0000000c F8FEFCFCFF000000 +17+ jsr check
00000014 00F8FE04 17+
00000018 F8FEFCFCFF000000 +17+ jsr proc
00000020 00F8FE04 17+
17+ #else
17X jsr proc
17+ #endif

Table of Contents

Related product manuals