Nice pictures to go with the textbook
- Shift and rotate (MSU ECE 3725 notes, pp. 16-20)
- Implementing C relational operations (MSU ECE 3725 notes, pp. 37-42)
- 32-bit operations (MSU ECE 3725 notes, pp. 6-12)
- 32-bit comparisons (MSU ECE 3725 notes, pp. 16-17)
- signed vs unsigned operations (MSU ECE 3725 notes, pp. 39, 47)
What are the following?
5 == 5
5 == 6
5 < 6 < 7
1 << 13
-5 / 2
-5 % 2
-1 >> 3
(unsigned) -1 >> 3