Rose::BitOps::allLsb
Set or clear the low‐order bits.
Synopsis
Declared in <src/Rose/BitOps.h>
template<typename Unsigned>
Unsigned
allLsb(
Unsigned src,
size_t w,
bool b = true);
Description
Sets or clears the low order bits of the input value without affecting any of the other bits.
Return Value
Updated value.
Parameters
Name |
Description |
src |
Input value. |
w |
Width of the low‐order region. |
b |
Bit value to write. |
Created with MrDocs