/* Get a field specified by a mask from a word.  */
uint32_t field_get(uint32_t mask, uint32_t word)
/* Get a field specified by a mask from a word.  */
uint32_t field_get(uint32_t mask, uint32_t word)
{
	return (word & mask) >> find_first_set_bit(mask);
}