Panasonic PanaXSeries MN1030 Series User Manual page 224

Panasonic microcomputer user's manual
Table of Contents

Advertisement

Chapter 11 Writing Macro Control Statements
The assembled list file is shown below.
Loc
Object
00000000
8001
00000002
2801
212 Macro Operators
***
Panax Series MN1030 Cross Assembler
Line
Source
M1
mac1
2
3
4
M5
mac2
6
7
8
9
_TEXT
M10
10+
M11
11+
12
macexp.lst
Page 1
macro
p1,p2,p3
mov
p1&p2\>\>&p3\&0x0f,D0
endm
macro
p1,p2
p1
p2
endm
SECTION
CODE,PUBLIC,1
mac1
1, 2, 3
mov
12>>3&0x0f, D0
mac2
<add>, <1, D0>
add
1, D0
end
***

Advertisement

Table of Contents
loading

Table of Contents