Download Print this page

Intel EV80Cl96KB User Manual page 61

Microcontroller evaluation board

Advertisement

MCS-96
MACRO
ASSEMBLER
EV96
ERR LOC
OBJECT
0000
0002
0002
0003
0003
0004
0004
0006
0006
0007
0008
0009
0011
0011
OOOA
OOOA
oooc
OOOE
OOOE
OOOF
0010
0015
0015
0016
0016
0017
0018
LINE
4i
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
12
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
01/24/89
13:55:41
PAGE
2
SOURCE
STATEMENT
;
Define
symbols
for the register
mapped
I/O locations
; --_-------------------------------------------------
;
zero
ew
0OH:word
;
R/W
equ
02H:byte
i
W
w
02H:byte
i R
ew
03H:byte
i R
equ
03H:byte
;
W
ew
04H:word
i R
ew
04H:word
;
W
equ
06H:byte
i R
ew
06H:byte
;
W
equ
07H:byte
i R/W
equ
08H:byte
i R/W
equ
09H:byte
i R/W
ew
llH:byte
;
W
ew
llH:byte
i R
equ
0AH:byte
;
W
equ
0AH:word
: R
equ
0CH:word
; R
ew
0EH:byte
; R
equ
0EH:byte
;
W
equ
0FH:byte
i R/W
ew
10H:byte
i R/W
equ
15H:byte
i
W
equ
15H:byte
i R
equ
16H:byte
;
w
ew
16H:byte
; R
ew
17H:byte
;
W
equ
18H:word
i
R/W
Zero Register
ad command
ad-result
lo
abresult:hi
hsi mode
hsi-time
hso-time
hsi-status
hso:command
sbuf
int mask
-
int-pending
spcon
spstat
watchdog
timer1
timer2
port0
baud-reg
ioportl
ioport2
ioc0
ios0
iocl
iosl
pwm-control
sP
A to D command
register
Low byte
of result
and channel
High
byte
of result
Controls
HSI transition
detector
HSI time
tag
HSO time
tag
HSI status
register
(reads
fife)
HSO command
tag
Serial
port
buffer
Interrupt
mask
register
Interrupt
pending
register
Serial
port
control
register
Serial
port
status
register
Watchdog
timer
Timer1
register
Timer2
register
I/O port
0
Baud
rate
register
I/O port
1
I/O port
2
I/O control
register
0 (HSI/O)
I/O status
register
0
I/O control
register
1 (Port2)
I/O status
register
1
PWM control
register
System
stack
pointer
i
This
section
defines
utility
macros
non-specific
to this
program
; ----___________-------------~~~--------------------~~~~~~~~~~~~~
&FINE-BIT
macro
name
endm
SET-BIT
macro
orb
endm
CLR-BIT
macro
andb
endm
BL
Seject
macro
bnc
endm
name,bitnum
equ bitnum
regnum,bitnum
regnum,#(
1 SHL
(bitnum
mod
8)
)
regnum,bitnum
regnum,#not(
1 SHL
(bitnum
mod
8) )
label
label

Advertisement

loading