Bit shifts and bit masks.
Bit operations, logical shifts, arithmetic shifts, rotate shifts (PCASM Section 2.1)
Lecture notes Textbook reading
Masks, conditionals, max(a,b), (PCASM Sections 3.2, 3.3, 3.4)
Programs from the lecture notes
asm code
Practice bit shifting and masking
Sample problems