Panasonic PanaXSeries MN1030 Series User Manual page 228

Panasonic microcomputer user's manual
Table of Contents

Advertisement

Chapter 11 Writing Macro Control Statements
;
extml
#ifndef
#endif
;
_TEXT
#define
The list file is shown below. The second macro call has been expanded after #endif.
Loc
Object
00000000 8001
00000002 8001
00000004 F8FEFCFCFF000000 +14+
0000000c 00F8FE04
216 Forced Termination of Macro Expansion (exitm)
global
debug
macro
mov
1, D0
TEST
exitm
jsr
debug
endm
section
CODE, PUBLIC, 1
extm1
TEST
extm1
exitm.lst
***
Panax Series MN1030 Cross Assembler** *
Line
Source
1
2
;
M3
extm1
4
5
#ifndef
6
7
#endif
8
9
10
;
11
_TEXT
M12
12+
12+
#ifndef
M12+
13
#define
M14
14+
14+
#itndef
14x
14+
#endif
14+
Page 1
global
debug
macro
mov
1, D0
TEST
exitm
jsr
debug
endm
section
CODE, PUBLIC, 1
extm1
mov
1, D0
TEST
exitm
TEST
extm1
mov
1, D0
TEST
exitm
jsr
debug

Advertisement

Table of Contents
loading

Table of Contents