If we split it up, we have
0x80 >> x
which shifts the value 128
(0x80
) right by x
bits.
The next part uses the previous result as a mask for data
, to see if the specific bit it set in data
.
Then the whole is checked against zero to see if the bit is set or not.