Delta AS Series Programming Manual page 524

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0805
MXOR
Device
X
Y
M
S
1
S
2
D
n
Data
type
S
1
S
2
D
n
Symbol
Explanation
1.
This instruction applies the logical operator XOR to the n rows of binary representations in S
binary representations in of S
stores the operation result in D.
2.
The result in each position is 1 if the two bits are different, and 0 if they are the same.
3.
The operand n must be between 1–256.
Operand
P
S
, S
, D, n
1
2
S
T
C
HC
Pulse instruction
: Matrix source 1
S
1
: Matrix source 2
S
2
D : Operation result
n : Length of the array
. It performs the matrix exclusive operation OR on each pair of corresponding bits and
2
Ch ap te r 6 Ap pl ie d Instruc ti ons
Matrix exclusive OR operation
D
FR
SM
SR
16-bit instruction
AS
AS
Function
E
K
16#
"$"
F
32-bit instruction
and the n rows of
1
6 - 2 4 5
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents