ldi r31, hi8(bit_cnt_table) mov r30, r16 andi r30, 0x0F lpm mov r17, r30 mov r30, r16 swap andi r30, 0x0F lpm add r17, r30