Working directly with individual bits is essential when a program controls hardware. This topic covers binary shifts in their logical, arithmetic and cyclic forms, and the effect each has on the value stored. You will use masks together with bitwise operations to test whether a particular bit is set, and to set or clear bits without disturbing the rest of the value. The topic links this to monitoring and controlling devices through a register.
๐ Sign in to view this topic's basics.
