Exercise: Bit shifts
Practice the bit shifts on your own.
We'll cover the following...
We'll cover the following...
Exercise
Perform arithmetic bit shifts for the following signed two-byte integers:
- 25649 >> 3
- 25649 << 2
- -9154 >> 4
- -9154 << 3
Solution
Here are the results of ...