Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
25 Applied Instructions (Block Data Operation)
25.1 BK+ / Block Data Addition
602
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
3. Applicable devices
Function and operation explanation
1. 16-bit operation (BK+/BK+P)
1) "n" 16-bit binary data starting from the device specified by are added to "n" 16-bit binary data
starting from the device specified by , and the operation result is stored in "n" points starting from the
device specified by .
2) A (16-bit) constant from -32768 to 32767 can be directly specified in the device specified by .
2. 32-bit operation (DBK+/DBK+P)
Operand
type
Bit Devices Word Devices Others
System user Digit specification
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
""
P
zzz z z
zzz z z zz
zz zz
zzz z z
BK+
EN ENO
d
s1
s2
n
A
dded constant or head device storing addition data
Command
input
Head device storing addition data
Number of pieces of data
Head device storing
operation result
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
+
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
K1234
K4567
K-1234
K-2000
K4000
K4000
K1234
K5000
K-1234
K4321
K5234
K5801
K3766
K-3234
K8321
ds2s1
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
+
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
K1234
K4567
K-1234
K-2000
K4000
K4321
K5555
K8888
K3087
K2321
K8321
d
s2
s1
A
dded constant or head device storing addition data
Head device storing addition data
Number of pieces of data
DBK+
EN ENO
d
s1
s2
n
Command
input
Head device storing
operation result