Episode 7.05 – Flipping Bits using the Bitwise Inverse and Bitwise-XOR

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.

Bibliographic Details
Main Author: Tarnoff, David
Format: Others
Published: Digital Commons @ East Tennessee State University 2020
Subjects:
Online Access:https://dc.etsu.edu/computer-organization-design-oer/55
https://dc.etsu.edu/context/computer-organization-design-oer/article/1054/type/native/viewcontent