Unexpected behaviour of bitwise not on a byte

@AWOL: Thanks. I think for now I stay here.

@Kenwood120s: