Comment Re:Very relevent for small target embedded stuff. (Score 1) 641
Heh, when I did embedded development we were always forbidden from using bitfields. Load, operate, store is the correct way to access a hardware register. "Let the C compiler do something probably based on the assumption the target address is in RAM" is the wrong way to access a hardware register
Load, operate, store is the correct way to access a hardware register, except when it's not. Some hardware has side effects when reading from or writing to a hardware port. On some devices, using bit-manipulation instructions is the correct way to do things.