3 ms·
Others have mentioned microcontrollers and using shifts for efficiency, but also often because system services are often described and accessed by individual bi
by beardyw 5y ago
Others have mentioned microcontrollers and using shifts for efficiency, but also often because system services are often described and accessed by individual bits. So for instance (in C)
xxx |= (1 << n) will set bit n and
xxx &= ~(1 << n) will clear it.