STEP 5 Operations
STL
L
IW 70
L
IW 6
XOW
T
QW 86
15
ACCU 2
0 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
ACCU 1
1 0 0 1 1 0 0 1 1 1 0 0 0 1 1 0
ACCU 1
1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0
8-46
Load input word IW70 into ACCU 1.
Load input word IW6 into ACCU 1. The previous contents of ACCU 1 are
shifted to ACCU 2.
Combine the contents of both accumulators bit by bit through logic
EXCLUSIVE OR.
Transfer the result (contents of ACCU 1) to output word QW86.
Numeric Example
IW70
IW6
Result
Explanation
Check to see if input words IW70
0
and IW6 are equal.
The result bit is set to "1" only if
corresponding bits in ACCU 1 and
X-OR
ACCU 2 are unequal.
S5-95F
EWA 4NEB 812 6210-02