6 BASIC INSTRUCTIONS
6.3 Logical Operation Instructions
313
6
• These instructions perform an OR operation (bit-by-bit) on 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).
• When a bit device is specified, the instruction performs an operation by assuming that the ones after the number of digit-
specified points are 0.
There is no operation error.
(s1)
(d)
(s2)
b15
b15
b15
b8
b8
b8
b7
b7
b7 b0
b0
b0
OR
110 00000111 10000
000 10100101 00011
110 10100111 10011