Number Systems
Lessons
- Binary, Denary and Hexadecimal
- Hexadecimal Representation
- Binary Addition and Overflow
- Binary Shifts
- Two's Complement
Simulations
- Binary and hexadecimalFreeSet the bits of a byte, and say how its denary and hex values follow from the place values.
- Binary addition and overflowAdd two bytes column by column, carrying as you go, and find out what happens when the sum needs a ninth bit.
- Logical shiftsShift a byte left and right, and find out what each shift does to its value, and when it loses a bit.
- Two’s complementWrite negative numbers in two’s complement, and explain why the leftmost bit is worth −128.