When using binary constants, the documentation says:
The binary formatter only works on bytes (8 bits) between 0 (B0) and 255 (B11111111). If it is convenient to input an int (16 bits) in binary form you can do it a two-step procedure such as:
myInt = (B11001100 * 256) + B10101010; // B11001100 is the high byte
In my code, i used things like
matrix[0] |= 0b0000000111100000;
This is working great, maybe this should be mentioned in the documentation because it is less painful than the high/low-byte-thing.