I decided to write an article about a thing that is second nature to embedded systems programmers – low level bit hacks. Bit hacks are ingenious little programming tricks that manipulate integers in a smart and efficient manner. Instead of performing operations (such as counting the number of 1 bits in an integer) by looping over individual bits, these programming tricks do the same with one or tw
![Introduction to Low Level Bit Hacks](https://cdn-ak-scissors.b.st-hatena.com/image/square/deedb67dac356f5b6b3e505320e371d9688b51b1/height=288;version=1;width=512/https%3A%2F%2Fcatonmat.net%2Fimages%2Fcatonmat-preview-image.png)