Panasonic PanaXSeries MN1030 Series User Manual page 184

Panasonic microcomputer user's manual
Table of Contents

Advertisement

Chapter 9 Writing Machine Language Instructions and Directive Statements
Usage example
Below is an example use of the equ directive.
***
Loc
Object
00000000
8020
00000002
800A
00000004
8008
00000006
2C0010
172 Writing Directive Statements
equ.lst
PanaX Series MN1030 Cross Assembler
Line
Source
1
MEMORY
2
MOTOR
3
STOP
4
BASE
5
;
6
_TEXT
7
8
9
10
Page 1
***
equ
0x20
equ
10
equ
0b00001000
equ
0x1000
section CODE, PUBLIC, 1
mov
MEMORY, D0
mov
MOTOR, D0
mov
STOP, D0
mov
BASE, D0

Advertisement

Table of Contents
loading

Table of Contents