(135)
ORWL 0010 0020 D00200
0000
00
345
10 01 10 01
15 00
01 01 01 01
00 01 00 01
15 00
15 00
CIO 0011
CIO 0021
D00201
01 11 10 01
15 00
01 01 11 11
01 01 10 01
15 00
15 00
CIO 0010
CIO 0020
D00200
5-25-6 DOUBLE LOGICAL OR: ORWL(135)
Variations
j ORWL(135)
(135)
ORWL I
1
I
2
R
I
2
: Input 2 CIO, G, A, T, C, #, DM
R: Result word CIO, G, A, DM
I
1
: Input 1 CIO, G, A, T, C, #, DM
Operand Data AreasLadder Symbol
When the execution condition is OFF, ORWL(135) is not executed. When the
execution condition is ON, ORWL(135) logically OR’s corresponding bits of I
1
and I
1
+1 with I
2
and I
2
+1 and places the result in R and R+1.
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+1 after execution.
Example When CIO 000000 is ON in the following example, the logical OR is taken of cor-
responding bits in CIO 0010 to CIO 0011 and CIO 0020 to CIO 0020 and the re-
sults is placed in corresponding bits of D00200 and D00201.
Address Instruction Operands
00000 LD 000000
00001 ORWL(135)
0010
0020
D0020
10 01 10 01
15 00
01 01 01 01
11 01 11 01
15 00
15 00
CIO 0011
CIO 0021
D00201
01 11 10 01
15 00
01 01 11 11
01 11 11 11
15 00
15 00
CIO 0010
CIO 0020
D00200
Description
Precautions
Logic Instructions Section 5-25