If you convert the hexadecimal number to binary it should make more sense.
1111 1111 1111 1111 1111 1111 1111 1110
Now AND that with another binary number.