Clearing bits within an integer is important if we want to isolate bits or set them to zero before we insert a new value. The bitwise-AND does this for us.
For ease of adapting the materials, audio and transcripts are available to download.
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License.
Visit the author's website for more information.
Worksheet for this episode is available on the author's website. Please note that the worksheet is not under a Creative Commons License.
Computer Organization and Design Fundamentals Series was created as part of the East Tennessee State University’s Open Educational Resources (OERs) Awards Program.
Tarnoff, David, "Episode 7.02 – Clearing Bits using the Bitwise-AND" (2020). Computer Organization and Design Fundamentals Series. https://dc.etsu.edu/computer-organization-design-oer/52