A worksheet for bitwise operations

Click here to download the worksheet (PDF) The problem When doing a lot of low-level system code, you constantly need to build hexadecimal constants and masks for bitwise arithmetic. Maybe you are accessing specific bits of an I/O register, or making sure you extract the proper field of a packed variable. You can scribble your […]