Also try, as suggested by Mat

My16Bits = %1111111100000000
My10Bits=My16Bits >> 6 ; lose the lower 6 bits (same as divide by 64)