(131)
ORW 0010 0020 D00200
0000
00
342
10 0110 0110 0110 01
15 00
01 0101 0101 0101 01
00 0100 0100 0100 01
15 00
15 00
CIO 0010
CIO 0020
D00200
5-25-2 LOGICAL OR: ORW(131)
Variations
j ORW(131)
(131)
ORW I
1
I
2
R
I
2
: Input 2 CIO, G, A, T, C, #, DM, DR, IR
R: Result word CIO, G, A, DM, DR, IR
I
1
: Input 1 CIO, G, A, T, C, #, DM, DR, IR
Operand Data AreasLadder Symbol
When the execution condition is OFF, ORW(131) is not executed. When the ex-
ecution condition is ON, ORW(131) logically OR’s corresponding bits of I
1
and I
2
and places the result in R.
Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
EQ (A50006): The result is 0.
N (A50008): Shows the status of bit 15 of R after execution.
Example When CIO 000000 is ON in the following example, the logical OR is taken of cor-
responding bits in CIO 0010 and CIO 0020 and the results is placed in corre-
sponding bits of D00200.
Address Instruction Operands
00000 LD 000000
00001 ORW(131)
0010
0020
D0020
10 0110 0110 0110 01
15 00
01 0101 0101 0101 01
11 0111 0111 0111 01
15 00
15 00
CIO 0010
CIO 0020
D00200
Description
Precautions
Logic Instructions Section 5-25