Download Print this page

Intel EV80Cl96KB User Manual page 68

Microcontroller evaluation board

Advertisement

MCS-96
MACRO
ASSEMBLER
EV96
01/24/89
13:55:41
PAGE
9
ERR LOC
OBJECT
A080
5OUKCE
STATEMENT
cseg
at
(offset
+ 2080H)
--.
A080
A080
FA
A081
Al000118
A085
3516FD
A088
3516FD
A08B
C301002000
A090
3516FD
A093
1138
reset
vector:
-
di
Id
bbc
bbc
st
bbc
clrb
;
A095
818036
A098
C701031E36
ldb
stb
sp,#lOOH
iosl,5,
$
iosl,S,
$
zero,
2000H
iosl,5,
$
RISM
STAT
-
tempb,
t8OH
tempb,
line-config[O]
;
A09D
B13C36
AOAO
C701001E36
AOAS
C701011EOO
ldb
stb
stb
;
Initialize
stack
pointer
; wait
for a timer1
overflow
; . . . two times,
; release
uart
reset,
and wait
; . . . till
uart
is ready
; Initialize
rism
mode
register
; set dlab
bit
in line-config
reg...
; so that
baud-a
reg's
are accessable
; set baud
rate
to 9600
i
AOAA
810336
AOAD
C701031E36
ldb
stb
tempb,
#3CH
tempb,
baud
a lo[O]
--
zero,
baud
a hi[O]
--
tempb,
t03H
tempb,
line-config[O]
;
AOB2
B16036
AOBS
C701021E36
ldb
tempb,
#60H
stb
tempb,
general-int[O]
;
set up uart
line
config
reg for no...
: par,
1 stop,
Ebit,
and txd
rxd access
-
; switch
to bank3
i
AOBA
815036
AOBD
C701001E36
ldb
tempb,
#50H
;
select
baud
rate
gen.
a for both...
stb
tempb,
clock-confg[O]
; rx and tx clock
source
;
AOC2
B17F36
AOC5
C701041E36
ldb
tempb,
X7FH
stb
tempb,
io-mode[O]
; select
OUT1
mode
on pin
12
AOCA
C701021EOO
stb
zero,
general-int[O]
; switch
to bank0
AOCF
B10136
AOD2
C701011E36
ldb
tempb,
#OlH
; enable
recieve
fifo
interrupt...
stb
tempb,
gener-enabl[Ol
; of the uart
;
AOD7
A1000036
AODB
C836
AODD
F3
i_ I NL
'98
199
100
(01
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
Id
push
POPf
tempw,
#rism-psw
tempw
; value
for rism
and initial
user
value
; Set up psw
for the monitor
; load psw with
rism
value
;
AODE
1136
AOEO
28Fl
AOE2
27FE
clrb
char
call
flash
leds
br
$
-
; show
life
to user
; wait
for interrupt
;
Seject

Advertisement

loading