Programming Instructions
23
Step Instructions
Instruction Mnemonic Code Function
STEP DE-
FINE
STEP 08 Defines the start of a new step
and resets the previous step
when used with a control bit.
Defines the end of step execu-
tion when used without a con-
trol bit.
STEP
START
SNXT 09 Starts the execution of the
step when used with a control
bit.
Increment/Decrement Instructions
Instruction Mnemonic Code Function
INCRE-
MENT
(@)INC 38 Increments the BCD content of
the specified word by 1.
DECRE-
MENT
(@)DEC 39 Decrements the BCD content
of the specified word by 1.
BCD/Binary Calculation Instructions
Instruction Mnemonic Code Function
BCD ADD (@)ADD 30 Adds the content of a word (or
a constant).
BCD SUB-
TRACT
(@)SUB 31 Subtracts the content of a
word (or constant) and CY
from the content of a word (or
constant).
BCD MUL-
TIPLY
(@)MUL 32 Multiplies the contents of two
words (or constants).
BCD DI-
VIDE
(@)DIV 33 Divides the content of a word
(or constant) by the content of
a word (or constant).
BINARY
ADD
(@)ADB 50 Adds the contents of two
words (or constants) and CY.
BINARY
SUB-
TRACT
(@)SBB 51 Subtracts the content of a
word (or constant) and CY
from the content of a word (or
constant).
BINARY
MULTIPLY
(@)MLB 52 Multiplies the contents of two
words (or constants).
BINARY
DIVIDE
(@)DVB 53 Divides the content of a word
(or constant) by the content of
a word and obtains the result
and remainder.
DOUBLE
BCD ADD
(@)ADDL 54 Add the 8-digit BCD contents
of two pairs of words (or
constants) and CY.
DOUBLE
BCD SUB-
TRACT
(@)SUBL 55 Subtracts the 8-digit BCD con-
tents of a pair of words (or
constants) and CY from the
8-digit BCD contents of a pair
of words (or constants).
DOUBLE
BCD MUL-
TIPLY
(@)MULL 56 Multiplies the 8-digit BCD con-
tents of two pairs of words (or
constants).
DOUBLE
BCD DI-
VIDE
(@)DIVL 57 Divides the 8-digit BCD con-
tents of a pair of words (or
constants) by the 8-digit BCD
contents of a pair of words (or
constants).
Data Conversion Instructions
Instruction Mnemonic Code Function
BCD TO
BINARY
(@)BIN 23 Converts 4-digit BCD data to
4-digit binary data.
BINARY
TO BCD
(@)BCD 24 Converts 4-digit binary data to
4-digit BCD data.
4 TO 16
DECODER
(@)MLPX 76 Takes the hexadecimal value
of the specified digit(s) in a
word and turns ON the corre-
sponding bit in a word(s).
16 TO 4
DECODER
(@)DMPX 77 Identifies the highest ON bit in
the specified word(s) and
moves the hexadecimal val-
ue(s) corresponding to its
location to the specified digit(s)
in a word.
ASCII
CODE
CONVERT
(@)ASC 86 Converts the designated dig-
it(s) of a word into the equiva-
lent 8-bit ASCII code.
Data Comparison Instructions
Instruction Mnemonic Code Function
COMPARE CMP 20 Compares two four-digit hexa-
decimal values.
DOUBLE
COMPARE
CMPL 60 Compares two eight-digit hex-
adecimal values.
BLOCK
COMPARE
(@)BCMP 68 Judges whether the value of a
word is within 16 ranges (de-
fined by lower and upper lim-
its).
TABLE
COMPARE
(@)TCMP 85 Compares the value of a word
to 16 consecutive words.