next up previous
Next: Variable Declarations Up: SAL & SPIM Previous: SAL & SPIM

Bits, Bytes, Words

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



Mitch Roth
Wed Oct 9 13:38:30 ADT 1996