The Psychology of Quality and More |
CHAPTER 9 : Data Usage
9.6 Using UnionsUnions, by definition, operate at the hardware level, where they can be very useful where it is necessary to map an item in alternative ways. For example, where a 16-bit register may also be addressed as two individual 8-bit registers:
union HL_REGISTER
Unions are often non-portable, and should thus be used only where necessary, in isolated, implementation-specific parts of the code.
|
Site Menu |
Quality: | Quality Toolbook | Tools of the Trade | Improvement Encyclopedia | Quality Articles | Being Creative | Being Persuasive | |
And: | C Style (Book) | Stories | Articles | Bookstore | My Photos | About | Contact | |
Settings: | Computer layout | Mobile layout | Small font | Medium font | Large font | Translate | |
You can buy books here |
And the big |