3=00 1 1B
9= 100 1B
3^9= 10 10B= 10
The rule of XOR is that the corresponding bit is the same as 1, and the different bit is 0.
So 3 9 can be stored as an integer variable.
X = within x=3^9; x= 10