I am having an issue with bit wise operators not producing the expected result. See the attached image. After I shift enc_val over << 2, the value it contains still has a '1' in the second most lsb spot. I began with 00000010, after << 2 it was 00001010. I know I am probably just missing something basic, and am an amateur programmer, so any help is appreciated.