4.5 Motion Language Instructions
4-196
Numeric
Com-
parison
> Greater Than
IF MW > MW;
WHILE MW > MW;
IF ML > ML;
WHILE ML > ML;
IF MF > MF;
WHILE MF > MF;
IF MQ > MQ;
WHILE MQ > MQ;
IF MD > MD;
WHILE MD > MD;
Used in an IF or WHILE condi-
tional expression. If the left side
is greater than the right side,
the condition is TRUE.
< Less Than
IF MW < MW;
WHILE MW < MW;
IF ML < ML;
WHILE ML < ML;
IF MF < MF;
WHILE MF < MF;
IF MQ < MQ;
WHILE MQ < MQ;
IF MD < MD;
WH
ILE MD < MD;
U
sed in an IF or WHILE condi-
tional expression. If the left side
is less than the right side, the
condition is TRUE.
>=
Greater Than
or Equal To
IF MW >= MW;
WHILE MW >= MW;
IF ML >= ML;
WHILE ML >= ML;
IF MF >= MF;
WHILE MF >= MF;
IF MQ >= MQ;
WHILE MQ >= MQ;
IF MD >= MD;
WHILE MD >= MD;
Used in an IF or WHILE condi-
tional expression. If the left side
is greater than or equal to the
right side, the condition is
TRUE.
<=
Less Than or
Equal To
IF MW <= MW;
WHILE MW <= MW;
IF ML <= ML;
WHILE ML <= ML;
IF MF <= MF;
WHILE MF <= MF;
IF MQ <=
MQ;
WHILE MQ <=
MQ;
IF MD <= MD;
WHILE MD <= MD;
Used in an IF or WHILE condi-
tional expression. If the left side
is less than or equal to the right
side, the condition is TRUE.
Data
Manip-
ulations
SFR Right Shift SFR MB N W;
Shifts the bit variable by the
specified number of bits to the
right.
SFL Left Shift SFL MB N W;
Shifts the bit variable by the
specified number of bits to the
left.
BLK Move Block BLK MW MW W;
Copies the areas of specified
blocks beginning with the
specified transfer source to the
specified transfer destination.
CLR Clear CLR MW W;
Clears the desired area to 0’s
(zeros) beginning with the
specified register.
SETW
Tab l e
Initialization
SETW MW DW; W;
Stores the specified data in all
registers starting from the tar-
get register to the specified
number of registers thereafter.
ASCII
ASCII
Conversion 1
ASCII ‘Text_string’ MW;
Converts the specified charac-
ters to ASCII text, and stores
the results of that operation in
the specified registers.
Continued on next page.
Continued from previous page.
Instruc-
tion
Typ e
Instruc-
tion
Name Format Description