Intel MCS-80/85 Computer Hardware User Manual


 
CRT
and
Ca~M,tte
Code (Cont'd)
!S!'~-II
·313S€l/:?0S5
ASSEMBLEP.
Vi
I~
31385
SEPIAl
T/O
NOTE
HPPE~IDI:":
MODl!Lg',i
i::~;l:
'~'
~;
":"" '
PAGE
LOC
08,.1
eS2F
87
~81e
F22708
138B
E5
13814
24
1383:5
2C
eS?6
22C829
0829
E1
e8ZA
B7
13838
7C
eS3e
1F
1383:[1
t·;'
e81E
70
138?F
iF
e94fl
!SF
0341
24
13842
:":
ee4?
22(A2e
0046
C9
0847
21'55tl8
084A
4E
e84B
AF
eNC
81
8S4[i
ce
1384E
CD69ge
ee51
2:
13852
C?4AA'?
tiPS,)
aD
e~5£
eH
0857
42415~-44
0:?58
213524154
eE~'5F
452-34~:48
138t.~
454148
~3:?'65
0(1
ee67
13A
0868
013
0869
F1
9BbA
C5
0868
ES
08£C
06£18
086E
AF
e86F
ZE80
0871
iF
0872
:e
0S71
2At82e
0876
2D
SEa
!54
55
56
57
5e
59
69
£1
62
6:?
64
65
66
67
f,:~:
69
70
71
72
7~:
SOURCE
STATEMENT
,'.
ORA
A
JP
eRE
PIJSH
H
IHR
H
H~
L
SHL[:O
B!TTIt'!E
;
<Hi.>
~lO~l
CORRESPON[iS
TO
INCOMING
DATA
RATE
:
:':AVE
COUNT
FOP.
HALFBIT
TIriE
COMPIJTATION
;
eITn~lE
IS
[iETEP.tlINEO
B~'
!NCRENE~mNG
,:
\
HAND
L
nmI'JWUALLY
POP
H .
PESTOPE
COUNT
FOR
HALFBIT
CHERllINFtTION
ORA
A ;
CLEAF.:
CARRY
NOV
Ft..
H:
ROTATE
RIGHT
E::-~THl[:t£D
<:HL>
PAl"'
,
'.
TO
['!\,;!OE
COIJNT
B'~
2
"lOll
HA
~10V
L
PAR
~101J
LA
!NR
H :
PUT
H
fiNO
L
HI
PROPER
FOR~1HT
FOR
DELAY
INP.
L
,:""
SEGI'lENTS
(:
HKRE~lE~IT
EACH::'
SHlP
HALFEIT;
SA'·iE
AS
HflLF-BIT
TUlE
DELAY
PARAMETER
PET
74
,SIGt-ION
HF.'IT£S
A
SIGN-ON
t'lESSAGE
TO
THE
CRT
AT
WHAT
SHOIJLD
BE
THE
CORRECT
RATE.
7'5;
IF
THE
~lESSHGE
IS
UNINTELLIGIBLE.
WELL.
SO
IT
GOES.
76
SIGNON'
L:"I
HI
'::TRNG·
;
LOAD
START
OF
SIGN-ON
MESSAGE
C
..
M
.'
GET
NEi~T
CHARACTER
.,.,
51
1'10\,1
,'i
78
:,:RR
A .
CLEAR
ACC'-~1fJLATOR
79
')RA
C
.:
CHEO':
IF
CHAF.:ACTER
IS
END
OF
STRING
!:'(!
t:
.
.,
.,.;.
.:
PETUPN
IF
5 I
GN-(ltl
COt~PLETE
:31
CAl.L
COUi
,
ELSE
cmpUT
CHARACTER
TO
CPT
:::2
IN:-:
H;
INI)£>~
Pi)
I
NTEF.:
S1:
HiP
51
;
ECH;J
NE~T
CHAP-ACTER
84
:35
STRNlj'
('8
f(IH.
0AH
;
<CR><LF}
!?6
DE:
'BAUC'
PATE
CHECK·'
:::7
oe
(tI)H
,HlO-(lF-STRING
ESCAPE
e(!(iE
89
ge
,:
COUT
CONSOLE
OUTPUT
SUBROUTINE
9'1
:
WPITES
THE
CONTENTS
OF
THE
C
REGISTER
TO
THE
CRT
OISPLAY
SCREEN
92
COIJT
C'l
?3:
PUSH
E:
94
PUSH
H
95
t·W!
8,
BITSO
..
SET
t'U'1BEP
OF
BITS
TO
BE
TRANSMITTED
96
;,":RA
A
,;
CLEAF:
CAF.:R'T'
97
COl
W·:'l
A
..
SOH
,SEi
~lHAT
HILL
BECOI'IE
SOC'
E~lABLE
BIT
?8
PAP;
"lI)VE
CARP'r'
INTO
50(
..
rlATA
BIT
OF
ACC
99
lee
101
C02:
SIt-!
;
OliTPUT
CoRTA
BIT
TO
SOD
LHLC'
E'!TT!l4E
r,eR
L
.d4AIT
UNTIL
APPROPR
lATE
TIriE
HAS
PA55ECI
A1-50
II
II:~
I':
I,
I
I