Next: Variable Declarations
Up: SAL & SPIM
Previous: SAL & SPIM
- bit
- A binary digit: 0 or 1
- byte
- 8 bits
- word
- 4 bytes = 32 bits
- Base 2
- Numbers composed of bits
- Base 10
- Numbers composed of the digits 0-9
- Base 16
- Numbers composed of the digits 0-9 and letters A-F.
Also called hexadecimal or hex.
Hexadecimal<->Binary Conversion
Each group of 4 bits gives 1 hex digit.
Base 2: 1010 0111 (one byte)
Base 16: A 7
CS 301 Class Account
Wed Sep 20 17:20:34 ADT 2000