Loading...

Media is loading
 

Description

Inverting or flipping the bits of an integer is the third and last method of “bit bashing” we will discuss. There are two ways to invert bits: either flip all of them at once or use a mask to identify which bits to flip and which to leave alone.

Adapting Materials

For ease of adapting the materials, audio and transcripts are available to download.

Creative Commons License

Creative Commons Attribution-Noncommercial 4.0 License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License.

Author's Website

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.

Acknowledgements

Computer Organization and Design Fundamentals Series was created as part of the East Tennessee State University’s Open Educational Resources (OERs) Awards Program.

Episode-7.05-Transcript.pdf (103 kB)
Episode 7.05 – Flipping Bits using the Bitwise Inverse and Bitwise-XOR Transcript in PDF

Episode-7.05-Transcript.docx (17 kB)
Episode 7.05 – Flipping Bits using the Bitwise Inverse and Bitwise-XOR Transcript in Word

Share

COinS