_ _ _ ... k ... _ (the given reg value; we focus on the kth bit)
## our filter
0 0 0 ... 1 ... 0 (1 left shifted by <pos> steps)
1 1 1 ... 0 ... 1 (take the complement of the above filter to get our final filter value)
If we logical AND the above filter with reg, we'll 0 out the <pos>th bit of reg.