Module: Bit Operations

Learning Outcomes

Assembly Programming

Assembly and High-level Languages

Readings

Bit Shifts

Using shift instructions in assembly (PCASM Section 2.1)

Bit Shifts (Practice)

Practice Problems

Use of Bit Operations

Using of bitwise operations and bitmasks (PCASM Sections 3.2, 3.3, 3.4)

Use of Bitwise Operations (Practice)

Practice Problems

Sample source code

Experiential Learning

Sample Homework Assignment #6

Using bitwise operations for compact data encoding/processing