EasyManua.ls Logo

Panasonic PanaXSeries MN1030 Series - Page 224

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

Table of Contents

Related product manuals