Download Print this page

Motorola EXORdisk II User Manual page 356

Advertisement

OTHER SYSTEM FUNCTIONS
EXIT CONDITIONS:
o
1
2
3
27,3 --
Character String Functions
Address of
the
source string
Address of
the
destination
strin~
A is
indeterminate.
S
=
Q.
X
is unchanged.
CC is indeterminate.
The
addresses
of
the
source
and
destination
strings in the parameter
packet have both been incremented
by
the
entr~
value
or
B.
The source string has been moved into the
destination string.
27.3.2 String comparison -- .CMPAR
Th e .
CMPAR
rune t
i
on
compares
a
ser
i
es
Or
c anti
9
uous
bytes
in
memory from one location with a series of bqtes at
another location.
The comparison is made starting
with
the
lowest addressed byte
o~
the source string.
ENTRY PARAMETERS:
EXIT CONDITIONS:
B
=
The
number
or
bytes to be compared.
If
B
is intially zero,
256
(decimal)
bytes will be compared.
X
=
The
address
or
the first byte of a
four-byte
parameter
packet.
The
parameter
packet
has
the
follo~ing
format:
o
1
2
3
Address of
the
source string
Address of
the
destination string
A
is indeterminate.
B
= The number of bytes remaining in
the
string
which' did not compare . . If
B
is zero,
the strings were
identical.
If
the
5t~ings
mis-compared on the
-First byte,
B
is unchanged.
Page
27-09

Advertisement

loading

This manual is also suitable for:

Exordisk iii