Processing details
• These instructions add the 16-bit binary data in the device specified by (s1) and the 16-bit binary data in the device
specified by (s2), and store the operation result in the device specified by (d).
(s1)
b15
b0
b15
···
1234 (BIN)
5678 (BIN)
+
• If an overflow occurs in the result, the carry bit is ignored. In this case, SM700 does not turn on.
[+ instruction]
(s1)
b15
b0
b15
···
-23456 (BIN)
-12345 (BIN)
+
(s1)
b15
b0
b15
···
12345 (BIN)
+
23456 (BIN)
[+_U instruction]
(s1)
b15
b0
b15
···
56789 (BIN)
+
12345 (BIN)
Operation error
There is no operation error.
(s2)
(d)
b0
b15
···
···
6912 (BIN)
(s2)
(d)
b0
b15
···
···
29735 (BIN)
(s2)
(d)
b0
b15
···
···
-29735 (BIN)
(s2)
(d)
b0
b15
···
···
3598 (BIN)
b0
b0
b0
b0
6.1 Arithmetic Operation Instructions
6 BASIC INSTRUCTIONS
6
61