
5.4 Logic Operations and Comparison Instructions
5.4.2 Inclusive OR (OR)
5-65
5.4.2 Inclusive OR (OR)
( 1 ) Operation
The OR instruction performs a logical OR operation on input data A and input data B and the result is stored in the out-
put data.
This instruction can be used only with integer or double-length integer data.
Each bit in the input data is evaluated as shown in the following truth table.
( 2 ) Format
∗ C and # registers cannot be used.
Input data A Input data B Output data
000
011
101
111
Input data A
Output data
Input data B
Inclusive OR
(OR)
Parameter Name
Applicable Data Types
B W L F A Index Constant
Input data A (SrcA)
×
{{{
×
{{
Input data B (SrcB)
×
{{{
×
{{
Output data (Dest)
×
{* {* {*
×
{
×
Input data A Input data B
Output data
Icon:
Key entry: |
Comentarios a estos manuales