Omron CS1G/H-CPUxxH Instructions Manual page 505

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Logic Instructions
Description
Flags
Precautions
Examples
484
XORL(612) takes the logical exclusive OR of data specified in I
double-word data and outputs the result to R, R+1.
• When the content of any of the corresponding bits in I
+1are different, a 1 will be output to the corresponding bit it R, R+1. When
any of them are the same, a 0 will be output to the corresponding bit in R,
R+1.
(I
I
+1), (I
, I
+1) + (I
, I
1,
1
2
2
1
I
I
+1
I
I
1,
1
2,
1
1
1
0
0
1
0
0
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
When XORL(612) is executed, the Error Flag will turn OFF.
If as a result of the exclusive OR, the content of R, R+1 is 00000000 Hex, the
Equals Flag will turn ON.
If as a result of the exclusive OR, the leftmost bit of R+1 is 1, the Negative
Flag will turn ON.
When the execution condition CIO 00000000 is ON, the logical exclusive OR
is taken of corresponding bits in CIO 0901, CIO 0900 and D01001, D01000
and the results will be output to corresponding bits in D01201 and D01200.
S:
0900 CH
S
+1: 0901 CH
1
Note: The symbol indicates exclusive logical OR.
+1) → (R, R+1)
+1), (I
, I
1
2
2
+1
R, R+1
2
0
1
1
0
Operation
OFF
ON when the result is 0.
OFF in all other cases.
ON when the leftmost bit of R is 1.
OFF in all other cases.
S:
D01000
S
+1: D01001
2
Section 3-13
and I
as
1
2
I
+1, I
and I
1,
1
2,
2
D:
D01200
D+1: D01201

Advertisement

Table of Contents
loading

Table of Contents