The AND operation (&) result one only when both operands are 1, and zero otherwise:

` XXXXXXXM`

& 00000001

--------

0000000M

so that whatever M is (0 or 1) in the first operand, it will appear in the same position in the result, and all other bits of the result will be zeros.