Bitops/part-select
This book provides a readable nice macro for extracting a portion of
an integer. You could use it to, e.g., extract bits 15-8 as a byte.
Subtopics
- Part-select-and-part-install
- Interactions between part-select and part-install
- Part-select
- Select a portion of bits from an integer that represents a bit
vector