Panasonic PanaXSeries MN1030 Series User Manual page 209

Panasonic microcomputer user's manual
Table of Contents

Advertisement

The assembled list file is shown below. Line number 11 assembles the statements for a match, and line
number 12 assembles the statements for a mismatch.
***
PanaX Series MN1030 Cross Assembler
Loc
Object
00000000
8001
00000002
8002
Line
Source
1
compare
2
#ifeq
3
4
#else
5
6
#endif
7
8
;
9
_TEXT
M10
10+
#ifeq
10+
10+
#else
10X
10+
#endif
M11
11+
#ifeq
11X
11+
#else
11+
11+
#endif
Chapter 10 Writing Assembler Control Statements
ifeq.lst
Page 1
macro
data1, data2
data1,data2
mov
0x01, D0
mov
0x02, D0
endm
section
CODE, PUBLIC, 1
compare
abc, abc
abc, abc
mov
0x01, D0
mov
0x02, D0
compare
abc, acb
abc, acb
mov
0x01, D0
mov
0x02, D0
***
Conditional Assembly 197

Advertisement

Table of Contents
loading

Table of Contents