Logic
Bitwise XOR
Description Input 1 and Input 2 are unsigned 16-bit integers. Output is the product of a bitwise XOR of Input 1 and Input 2. Each bit of Input 1 is XORed with the bit in the same position of Input 2.

0x0 ≤ Input ≤ 0xFFFF
0x0 ≤ Output ≤ 0xFFFF

Bit N1Bit N2Bit NOutput
000
011
101
110

Input 1:  0xAAAA       1010 1010 1010 1010
Input 2:  0x1234       0001 0010 0011 0100
Output:   0xB89E       1011 1000 1001 1110
Availability
  • Requires library: Process Control (option -05)
  • Firmware versions 0x1021 and later
savvy-SFD Graphic bitwiseXor
Graphic with Parameters bitwiseXor

Parameters

Input 1 Input, Read-write, Hexadecimal (unsigned 16-bit integer)
0x0 to 0xFFFF
Input 2 Input, Read-write, Hexadecimal (unsigned 16-bit integer)
0x0 to 0xFFFF
Output Output, Read-only, Hexadecimal (unsigned 16-bit integer)
0x0 to 0xFFFF