High−level Instructions
Description
Performs OR operation on each bit in the 16-bit equivalent constant or 16-bit data specified by S1 and S2.
The OR operation result is stored in the 16-bit area specified by D.
(S1)
(S2) → (D)
You can use this instruction to turn on certain bits of the 16-bit data.
OR operation
The OR operation is shown below.
S1
S2
D
0
0
0
0
1
1
1
0
1
1
1
1
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
・= flag (R900B):
3 − 146
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Turns on and stays on when the area specified using the index modifier
exceeds the limit.
Turns on for an instant when the area specified using the index modifier
exceeds the limit.
Turns on for an instant when the calculated result is recognized as "0".