6 BASIC INSTRUCTIONS
6.3 Logical Operation Instructions
315
6
• These instructions perform an OR operation (bit-by-bit) on the 32-bit binary data in the device specified by (d) and the 32-
bit binary data in the device specified by (s), 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.
b31
b31
b31
b16
b16
b16
b15
b15
b15 b0
b0
b0
OR
1111 0000 00 0011
1001 0001 11 0011
1111 0 001 11 0 011
(d)+1 (d)
(s)+1 (s)
(d)+1 (d)
(d)
(d)
(s)