6-64
DBK+(P),DBK-(P)
(6) The following will happen if an overflow occurs in an operation result:
The carry flag in this case is not turned on.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an
error code is stored into SD0.
• A negative value is specified for n. (Error code: 4100)
• The range of the n-point devices starting from the device specified by , , or
exceeds the specified device range. (Error code: 4101)
• The range of the n-point devices starting from the device specified by overlaps with the
range of the n-point devices starting from the device specified by . (Exclude the case
that and specify the same device. (Error code: 4101)
• The range of the n-point devices starting from the device specified by overlaps with the
range of the n-point devices starting from the device specified by . (Error code: 4101)
・
K2147483647
(7FFFFFFF
H)
・ K 2147483647
(80000001
H)
−K
2
−K−2
K 2147483647
K2147483647
(00000002
H
)
(
80000001
H
)
(
FFFFFFFE
H )
(
7FFFFFFF
H
)
S1
S2
D
S1
D
S1
D
S2
D