Allocation of Bitfields

Bitfield allocation depends on the compiler. Some compilers allocate the bits from right (least significant byte) to left (most significant byte), and others allocate from left to right. Also, some compilers implement alignment and byte or word crossing of bitfields inconsistently. Solutions include: