|
Re: PPC bool bitfield
Since you're specifying the type "bool", I believe the first four make up one bool variable, and the next 4 make up a second bool variable. If you made it a 10-bit bitfield, you'd end up with bool variables and 2 unused bits. At least, that's my understanding. From what I've read on bitfields, that code should be fine. The variable type declarations are really more just the computer's version of bureaucracy, it tells it how to write the memory addresses.
|