6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
261
6
• These instructions add the BCD 4-digit data in the device specified by (s1) and the BCD 4-digit data in the device specified
by (s2), and store the operation result in the device specified by (d).
• If the result exceeds 9999, the carry bit is ignored. In this case, SM700 does not turn on.
Error code
(SD0)
Description
3405H The BCD data in the device specified by (s1) is out of the range, 0 to 9999.
The BCD data in the device specified by (s2) is out of the range, 0 to 9999.
(s1) (s2) (d)
5 6 78 12 34 69 12
+