Download Print this page

Intel EV80Cl96KB User Manual page 82

Microcontroller evaluation board

Advertisement

MCS-96
MACRO
ASSEMBLER
EV96
ERR LOC
OBJECT
8000
8000
8001
B301021E36
8006
950436
8009
DFOA
8008
B10136
800E
C701011E36
I3013
8015
8015 AFOlOOlE36
801A
383803E7C420
8020
38380F
8023
991F36
8026
D90D
8028
8028
643636
802B A3375ElD36
8030
E336
,INE
'63
'64
165
'166
767
768
769
770
771
772
773
715
776
777
778
779
780
781
784
705
786
787
788
789
790
791
792
793
794
795
796
791
01/24/t-19 13:55:41
PAGE
23
SOURCE
STATEMENT
cseg
at
(offset
+ OOOOH)
;
------------------------
;
; rism
interrupt
service
routine
; ------------------------------
i Control
passes
to this
point
when
the rism
gets
a serial
i/o interrupt
; from the host
system.
;
rism
isr:
-
ENTER-RISM
ldb
tempb,
general-int[O]
; read
uart
interrupt
status
xorb
tempb,
$OOOOOlOOB
; test
for receive
fifo
interrupt
be
receive-ready
ldb
tempb,
XOlH
; enable
only
recieve
fifo
interrupt...
stb
tempb,
gener-enabl[O]
; of the uart,
mask
all others
exit:
EXIT-RISM
,
receive-ready:
ldbze
tempw,
txd-rxd[O]
. "char"
is low byte
of tempw
I
bbc
RISM-STAT,USER-MAP,
not-kser
bbs
RISM-STAT,
DLE-FLAG,
force-load
data
cmpb
char,
#lFH
i check-if
byte
is a command
bh
load-data
; commands
are <= 1FH
process
command:
-add
tempw,
tempw
; convert
"char"
to word
index
Id
tempw,
(command-table-offset)
[tempw]
br
[tewwl
ieject

Advertisement

loading