Download Print this page

Motorola EXORdisk II User Manual page 358

Advertisement

OTHER
SYSTEM
FUNCTIONS
27.3 -- Character String Functions
B
=
O.
Xis
unc
hang ed.
CC is indeterminate.
The string is filled with blanks.
27.3.5
Test ror alphabetic character -- .
ALPHA
The . ALPHA function examines
the
character
in
.the
A
register for being an upper case alphabetic character
(A-Z).
ENTRY PARAMETERS:
EXIT CONDITIONS:
A
=
The
character to be tested.
A
is
unchanged.
B
is
unchanged"
X
is unchanged.
C
=
0
if
A
contains
a
valid alphabetic
character.
The remainder
Or
CC
is
indeterminate.
C
=
1 ir A contains an invalid alphabetic
character.
The remainder
of
CC
is
i nd eterminate.
27.3.6 Test
ror decimal digit -- .
NUMO
The
. NUMD
function
examines
the
character
in the
A
register for being a valid
ASCII
decimal digit
(0-9).
ENTRY PARAMETERS:
EXIT CONDITIONS:
A
=
The character
to
be tested.
A is unchanged if it contained an invalid
digit.
Otherwise,
A
contains
the
binary
equivalent
Or
the
decimal
digit (bits 4-7 will be zero).
B
is unchanged.
X
is unchanged.
C
=
0
if
A
contained a valid digit.
The
remainder of
CC
is
indeterminate.
C'= 1
ir
A
contained
an
invalid
digit.
The
remainde~
of CC is indeterminate.
27. 4
Di~kette
File Functions
The
diskette
file functions can be used in conJunction
with the device dependent I/O functions
(section
25.2)
ror
diskette
accessing.
These Punctions are used
by
the device
independent liD functions to perform directory
searches
and
diskette
space
allocation
and
deallocation.
The
MDOS
commands use these functions
fo~
changing
Pile
names
and
attributes
and
for loading programs
~rom
memory-image files
from the diskette into
memor~.
Page
27-11

Advertisement

loading

This manual is also suitable for:

Exordisk iii