43
2
3
4
5
6
7
8
2.4
B
asic instructio
ns
2.4.2
A
rithme
tic oper
ation instructions
Category
Inst
ructi
on Sym
b
o
l
Symbol
Processing Details
Execution
Condition
Num
b
er o
f Ba
sic S
tep
s
Sub
set
See f
o
r Des
cr
iptio
n
BIN 16-bit
data block
addition and
subtraction
operations
BK+
• This instruction adds BIN 16-bit data stored in
n-point devices starting from the device
specified by (S1) to the n-point data stored in
the devices starting from the device specified
by (S2) in batch.
5
-
BK+P
BK-
• This instruction substracts BIN 16-bit data
stored in the n-point devices starting from the
devices specified by (S2) from BIN 16-bit data
stored in n-point devices starting from the
device specified by (S1) in batch.
5
-
BK-P
BIN 32-bit
data block
addition and
subtraction
operations
DBK+
• Adds BIN 32-bit data stored in the n-point
devices starting from the device specified by
(S1) and a constant to BIN 32-bit data stored
in the n-point devices starting from the device
specified by (S2) and stores the result into the
nth device specified by (D) and up.
5
-
DBK+P
DBK-
• Subtracts BIN 32-bit data stored in the n-point
devices starting from the device specified by
(S2) or a constant from BIN 32-bit data stored
in n-point devices starting from the device
specified by (S1) and stores the operation
result into the nth device specified by (D) and
up.
5
-
DBK-P
Character
string data
Connection
$+
• Links character string designated with (S) to
character string designated with (D), and
stores the result from (D) onward.
3
-
$+P
$+
• Links character string designated with (S2) to
character string designated with (S1), and
stores the result from (D) onward.
4
-
$+P
BIN data
increment
INC
• (D)+1 (D)
2
INCP
DINC
• (D+1, D)+1 (D+1, D)
*7
DINCP
DEC
• (D)-1 (D)
2
DECP
DDEC
• (D+1, D)-1 (D+1, D)
*7
DDECP
BK+
S
1
S
2
n
D
BK+
P
S
1
S
2
n
D
BK
S
1
S
2
n
D
BK
S
1
S
2
n
D
P
D
BK+
S
1
S
2
n
D
D
BK+
P
S
1
S
2
n
D
D
BK
S
1
S
2
n
D
D
BK
S
1
S
2
n
D
P
$+
S D
$+
P
S D
$+
S
1
S
2
D
$+
P
S
1
S
2
D
IN
C
D
IN
CP
D
D
IN
C
D
D
IN
CP
D
D
E
C
D
D
E
CP
D
DD
E
C
D
DD
E
CP
D