Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
6-63
DBK+(P),DBK-(P)
1
2
3
4
4
6
7
8
6.2 Arithmetic Operation Instructions
6.2.14 BIN 32-bit data block addition and subtraction operations (DBK+(P),DBK-(P))
When a constant is specified for
(2) Block addition is executed in 32-bit units.
(3) The constant in the device specified by can be between 2147483648 to 2147483647
(BIN 32-bit data).
(4) If the value specified by n is 0, the instruction will be not processed.
(5) The following will happen if an overflow occurs in an operation result:
The carry flag in this case is not turned on.
DBK-
(1) This instruction subtracts BIN 32-bit data stored in the n-point devices starting from the
device specified by or a constant from BIN 32-bit data stored in n-point devices starting
from the device specified by , and then stores the operation result into the nth device
specified by and up,
When a device is specified for
When a constant is specified for
(2) Block subtraction is executed in 32-bit units.
(3) The constant in the device specified by can be between 2147483648 to 2147483647
(BIN 32-bit data).
(4) If the value specified by n is 0, the instruction will be not processed.
(5) specifies out of the range of n-point devices starting from the device specified by and
.
However, and can specify the same device.
S2
b31 b0
(BIN)
D
n 2
S2
D
D
D
(BIN)
(BIN)
(BIN)
b31 b0
1,
S1
S1
S1
S1
S1
S1
S1
S1
n 1,
b31 b0
(BIN)
(BIN)
(BIN)
2
4
n 2
n
3,
5,
n 1,
D
D
D
D
1,
S2
n
2
4
3,
5,
1,
(BIN)
20000
90000
110000
50000
(BIN)
-30000
40000
-50000
60000
0
S2
K2147483647
(7FFFFFFF
H
)
K 2147483647
(80000001
H
)
+K
2
+K2
K 2147483647
K2147483647
(00000002
H
)
(
80000001
H
)
(
FFFFFFFE
H
)
(
7FFFFFFF
H
)
S2
S1
D
S2
b31 b0
(BIN)
(BIN)
(BIN)
2
4
D
S2
n 2n 2
S2
S2
S2
D
D
D
n
(BIN)
(BIN)
(BIN)
b31 b0
3,
5,
S1
S2
S1
S1
S1
n 1,
S1
S1
S1
S1
n 1,
S2
1,
b31 b0
(BIN)
(BIN)
(BIN)
2
4
n 2
n
3,
5,
n 1,
D
D
D
D
1,
S2
S2
n
2
4
3,
5,
1,
(BIN)
30000
1234
(BIN)
44445
3333
-10000
12345
(BIN)
-55555
33333
44444
13579
54444
-1000000
S2
b31 b0
(BIN)
D
n 2
S2
D
D
D
(BIN)
(BIN)
(BIN)
b31 b0
1,
S1
S1
S1
S1
S1
S1
S1
S1
n 1,
b31 b0
(BIN)
(BIN)
(BIN)
2
4
n 2
n
3,
5,
n 1,
D
D
D
D
1,
S2
n
2
4
3,
5,
1,
(BIN)
-109998
90000
70000
9999
(BIN)
-99999
99999
-59999
79999
69998
S2
D
S1
S2
S1
S2