7 Applied Instructions
7.19 Block Data Operation
620
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
2. 32-bit operation (DBK-/DBK-P)
1) "2n" 32-bit binary data starting from the device specified by are subtracted from "2n" 32-bit binary
data starting from the device specified by , and the operation result is stored in "2n" points starting
from the device specified by .
2) A (32-bit) constant from -2,147,483,648 to 2,147,483,647 can be directly specified in the device specified
by .
Related instruction
Instruction Description
BK+ Adds binary block data.
DBK-
EN ENO
d
s1
s2
n
Command
input
Label 1
*1
Label 2
*2
Label 3
*3
Label 4
*4
*1. This defines the head of the device that stores the subtraction data.
*3. This defines the number of pieces of data.
*4. This defines the head of the device that stores the operation result.
*2. This defines the subtracted constant or the head of the device that stores the subtraction data.
b31 b0
"2n"
points
—
K8765
K8888
K50000
K9325
K4352
b31 b0
"2n"
points
K1234
K5678
K4321
K9876
K4000
b31 b0
"2n"
points
K7531
K3210
K45679
K-551
K352
s1
]+1,[
s1
s1
]+3,[
s1
s1
]+2n-3,[
s1
+2
s1
]+5,[
s1
+4
+2n-4
s1
]+2n-1,[
s1
+2n-2
s2
]+1,[
s2
s2
]+3,[
s2
s2
]+2n-3,[
s2
+2
s2
]+5,[
s2
+4
+2n-4
s2
]+2n-1,[
s2
+2n-2
d
]+1,[
d
d
]+3,[
d
d
]+2n-3,[
d
+2
d
]+5,[
d
+4
+2n-4
d
]+2n-1,[
d
+2n-2
b31 b0
"2n"
points
—
K8765
K8888
K50000
K9325
K4352
b31 b0
"2n"
points
K-115
K8
K41120
K445
K-4528
s1
]+1,[
s1
s1
]+3,[
s1
s1
]+2n-3,[
s1
+2
s1
]+5,[
s1
+4
+2n-4
s1
]+2n-1,[
s1
+2n-2
d
]+1,[
d
d
]+3,[
d
d
]+2n-3,[
d
+2
d
]+5,[
d
+4
+2n-4
d
]+2n-1,[
d
+2n-2
s2
]+1,[
s2
K8880