Download Print this page

Motorola EXORdisk II User Manual page 92

Advertisement

CHAIN
COMMAND
6.4 -- Execution Operators
test
is
true,
then
the
next
sequential
line
in
the
'~
intermediate file will be skipped.
IT the result of the test
_~
is
false,
hOllJeve1"J
then
the
next
sequential line in the
intermediate file will be processed.
In other words) a -False
condition
has the same errect as if the TST operator was not
processed at all.
If the status \.LIord designator is not speciFied,
then
W.
the
whole
word
part,
Ulill be assumed.
The following test
conditions can be used in the
<condition~
field
or
the
TST
op erator:
<condition~
Test performed on word part
EG
Equal to
<value~
NE
Not equal to
<value~
GT
Greater than
<value~
LT
Less than
<value~
GE
Gr~ate1"
than or equal to <value/
LE
Less than or
e~ual
to
<value~
as
Bit set (=1)
Be
Bit clear
<=0)
The
first
six
tests
ar~
the standard relational tests
Tor eq,uality,
etc.,
that can be performed
with
the
<value:>
and
the
deSignated word part.
The last two tests
(BS
and
Be)
allow specific bits in the deSignated word part to be
tested
for
being set
(BS)
or clear
<Bel.
The
bits to
be
tested are
indicated
by
the
one bits from <value>.
The
<value> part oT the TST operator
is
a
hexadecimal
number
in the range O-FFFF.
The
size of
<valu~j
must not
be
greater than the size of the word part that is being
tested.
No
Signed numbers can be used.
That is, all comparisons and
tests are made with positive integers.
If
<valuej
is
not
specified, then the default of zero will be
u'Se~.
6.4.6 JMP
operator
The
JMP
operator
allows
skipping
lines
in
the
intermediate file during its execution.
Used in
conjunction
with
the TST operatorl
the JMP operator can be turned into a
conditional jump around critical steps
if
certain
conditions
are detected during the execution of the CHAIN process.
The JMP operator has the following format:
@JMP <labelj
where
<label~
must
be
defined via the label operator LBL.
Jumps can only be made in a forward direction.
That is, once
a
line
has
been
executed
Tram
the intermediate Tile,
it
j
Page
06-12

Advertisement

loading

This manual is also suitable for:

Exordisk iii