Bit Manipulation
Documentation
Macros that work with the bits and bytes of numbers.Description
The macros documented here provide access to the individual bits, bytes and words of integer values.
Byte Manipulation MacrosGets the value of individual bytes or words of
Bit Manipulation MacrosUInteger values.Gets the state of individual bits of numeric values.
| Byte Manipulation Macros LoByte Gets the least significant byte (LSB, or lo-byte) value of an HiByteUInteger value.Gets the most significant byte (MSB, or hi-byte) value of the least significant word (LSW, or lo-word) of an LoWordUInteger value.Gets the least significant word (LSW, or lo-word) value of an HiWordUInteger value.Gets the most significant word (LSW, or hi-word) value of an UInteger value. | Bit Manipulation Macros |