SMAC
LAC-26 Technical Reference Manual
4/29/2013 41
4.5 Sequence Commands
The
LAC-26
includes
commands
that
provide
for
conditional
sequence
command
execution based on the register data, I/O state and etc. These Sequence Commands
are
illustrated
by the following general forms:
•
If the condition
is
true,
command
execution
will
continue
normally.
If
the
condition
is
false, the next two commands in the command line or the macro will be skipped.
•
If the condition
is
true,
command
execution
will
continue
normally.
If
the
condition
is
false, the rest of the command line or the macro will be skipped.
•
If the condition
is
true,
command
execution
will
continue
normally.
If
the
condition
is
false, command execution will be suspended until the condition becomes true.
Command:
DFn
-- Do if I/O Channel is "Off" --
Argument:
0 <= n <= 63
This
command
will
cause
command
execution
to
continue
if
I/O
channel
'n'
is
"Off";
otherwise, the rest of the command line or the macro will be skipped.
Related Commands: CF, CN, DN
Command:
DNn
-- Do if I/O Channel is "On" --
Argument:
0 <= n <= 63
This
command
will
cause
command
execution
to
continue
if
I/O
channel
'n'
is
"On";
otherwise, the rest of the command line or the macro will be skipped.
Related Commands: CF, CN, DF
Command:
E
P
-- End Program --
This command will cause program execution to cease and return the ">" prompt.
Related Commands: RC
Command:
IBn
-- If Accumulator is Below 'n' (Signed) -
Argument:
-2,147,483,647 <= n <= 2,147,483,647
If the contents of the accumulator is less than
(signed
comparison)
the
value
'n',
command
execution will continue; otherwise, the next two commands in the command
line
or
the
macro
will
be skipped.