Best way to access nibbles
Posted: Thu Feb 03, 2022 2:44 pm
Hi!
I want to read or write a nibble in U16 variable, for example, nible 0 = 12 or nible 3 = 1.
Can I access 4 bits individualy with good a performance?
__3___2____1___0
0000-1111-0000-1111
I want to read or write a nibble in U16 variable, for example, nible 0 = 12 or nible 3 = 1.
Can I access 4 bits individualy with good a performance?
__3___2____1___0
0000-1111-0000-1111