![RCA CDPl8S693 Скачать руководство пользователя страница 12](http://html.mh-extra.com/html/rca/cdpl8s693/cdpl8s693_user-manual_334504012.webp)
2. Features of UT62 Monitor Program
11
Entry
Absolute
Table I—UT62 Subroutine Calling Sequence
Description
Name
Address
READ
813E
Input ASC 11-RF.1,D (if non-standard linkage).
READAH
813B
Same as READ. If hex character, D IG IT—RD (see text).
TYPED
8198
1.5 bit delay. Then TYPE function.
TYPE5D
819C
1.5 bit delay. Then TYPE5 function.
TYPE5
81A0
O utput ASCII character at M(R5). Then increment R5.
TYPE6
81A2
O utput ASCII character at M(R6). Then increment R6.
TYPE
81A4
O utput ASCII character at RF.1.
TYPE2
81AE
O utput hex digit pair in RF.1.
TIMALC
80FE
Read input character and set up control byte in RE.1.
DELAY1
80EF
Initialize RC to point to DELAY1.
Delay, as function of M(R3) (see text). Then R3 + 1.
OSTRNG
83F0
O utput ASCII string at M(R6). Data byte 00 ends typeout.
MOVE
8429
See text.
FILL
824B
See text.
I NIT 1
83F3
See text.
INIT2
83F6
See text.
GOUT62
83F9
See text.
CKHEX
83FC
See text.
CALLR
8364
SCRT call routine.
RETR
8374
SCRT return routine.
Notes
(1) All routines, except DELAY, use R3 as program
counter, exit with SEP5, and modify registers X, D,
DF, RE, RF and location M(R2).
(2) DELAY routine uses RC as program counter, exits
with SEP3 after incrementing R3, and alters
registers X, D, DF, and RE.
(3) READ and READAH exit with R3 pointing back at
READAH.
(4) All five TYPE routines exit with R3 pointing at
TYPE5. All TYPE routines modify register RD.
(5) R0, R1, and R4. 1 are altered by UT62 while storing
registers.
Table II—UT62 Register Utilization
Register
Register
Name
Number
Function and Comments
SP
R2
Stack pointer. UT62 sets R2 = 8CFF
PC
R3
Program counter for UT62.
CALL
R4
Call routine counter.
RETN
R5
Return routine counter.
LINK
R6
Subroutine data link.
CNT
RA
Byte count.
PTR
RB
T a b le p o in te ru s e d b y U T 6 2
SRC
RB
Source register
DELAY
RC
Program counter for delay routines. Points to DELAY1 in memory
ASL
RD
Hex input register.
DEST
RD
Destination register. RD.0 is used by all TYPE routines.
AUX
RE
RE.1 holds time constant and echo bit. RE.0 is used by all read
and type routines and by TIMALC, OSTRNG, and CKHEX.
CHAR
RF
RF.1 holds input/output ASCII character. RF.0 is used by all read
and type routines and by TIMALC, OSTRNG, and CKHEX.