Bitwise Exclusive Or

<< Click to Display Table of Contents >>

Navigation:  Function block library > Logic > Bitwise operations >

Bitwise Exclusive Or

Previous pageReturn to chapter overviewNext page

bitwise_xor

This function block performs the bitwise XOR operation on two integer values. Only bits which are 1 in exactly one operand are 1 in the result.

Inputs

Type

Defauot

Description

Operand 1

int

0


Operand 2

int

0






Outputs




Result

int


Result of the bitwise XOR operation on Operand 1 and Operand 2