6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
279
6
• These instructions multiply the BCD 8-digit data in the device specified by (s1) by the BCD 8-digit data in the device
specified by (s2), and store the operation result in the device specified by (d).
• When (d) is a bit device, only the lower 8 digits (lower 32 bits) of the operation result are stored.
Operation result when (d) is a bit device
•K1Lower 1 digit (b0 to b3)
•K4Lower 4 digits (b0 to b15)
•K8Lower 8 digits (b0 to b31)
Error code
(SD0)
Description
3405H The BCD data in the device specified by (s1) is out of the range, 0 to 99999999.
The BCD data in the device specified by (s2) is out of the range, 0 to 99999999.
(s1)+1
9 9 99
(s1)
9 9 9
(s2)+1
99 99
(s2)
9 9 999
×
(d)+1
0 0 00
(d)
0 0 01
(d)+3
9 9 99
(d)+2
9 9 98