FreeBASIC - Bitwise operators

We have more of the bitwise operators, using the bitwise operator we can set or determine the specific bit in whole numbers.
bitwise left shift
par1 shl par2
bitwise right shift
par1 shr par2
bitwise and
par1 and par2
bitwise or
par1 or par2
bitwise not
not par1
bitwise xor
par1 xor par2


Other pieces of example codes:
2 shl 2
x = &Hf and &Hff
x = 8 shr 1
x = 1 or 2
x = not(32 shr 2)
x = 123 xor 25
Languages: en hu cz sk