AMT Datasouth PAL User Manual
Page 204

xor
198
xor
Description
Performs a logical or bit-wise exclusive-or operation on two boolean or integer values.
Usage
Any1Bool Any2Bool
xor
XorBool
Any1Int Any2Int
xor
XorInt
Any1Bool
Boolean. First operand for the logical exclusive-or operation.
Any2Bool
Boolean. Second operator for the logical exclusive-or operation.
XorBool
Boolean. Result of the logical exclusive-or operation.
Any1Int
Integer. First operand for the bit-wise exclusive-or operation.
Any2Int
Integer. Second operand for the bit-wise exclusive-or operation.
XorInt
Integer. Result of the bit-wise exclusive-or operation.
Comments
The following table lists the results of performing the logical exclusive-or operation on two
boolean values.
Any1Bool
false
true
Any2Bool
false
false
true
true
true
false
The following table lists the results for each bit position when performing the bit-wise exclusive-or
operation on two integer values.
Any1Int
0
1
Any2Int
0
0
1
1
1
0