Download Print this page

Radio Shack TRS-80 Owner's Manual page 99

Mini-disk operation disk operating system disk basic programming language
Hide thumbs Also See for TRS-80:

Advertisement

TRSDOS
Entry
Conditions
(DE)
=
DCB
CALL SPOSEOF
Exit
Conditions
z
=
Good
file
specification
nz
=
Bad
file
specification
$SYNTAX—
17436/X
9
441C
9
Move
a
file
specification
to
dcb. This
routine takes a
file
specification
and
checks
it
for validity
and
moves
it
to
a
dcb
so
that
the
file
may
be opened.
Entry
Conditions
(HL)
=
Filename
(DE)
=
DCB
CALL SSYNTAX
Exit
Conditions
z
=
Good
file
specification
nz
=
Bad
file
specification
$DIVIDE™~
17489/X
?
4451
9
The
divide routine takes a
16-bit
dividend
and an
eight-bit divisor.
After
division, the
quotient replaces the
16-bit
dividend
and
the
remainder
replaces the
eight-bit divisor.
Entry Conditions
hl
=
Dividend
a
=
Divisor
call
sdivide
Exit
Conditions
hl
=
Quotient
a
=
Remainder
(0 indicates
no
remainder).
83

Advertisement

loading

This manual is also suitable for:

Model iii