description | operand | example |
bitwise AND | & | b001110110 & b0111 = b110 |
bitwise OR | | | b001110110 | b0101 = b1110111 |
bitwise exclusive OR | b001110110 b0111 = b1110001 | |
left shift | « | b111 « 2 = b11100 |
right shift | » | b111 » 2 = b1 |
one's complement (32 bit) | b111000 = b111...000111 |