Silicon, Circuits, and the Digital Revolution
Introduction to Binary Counting
Base 2 counting
Motivation -- only 2 states needed:
Switch ON or OFF,
Circuit CLOSED or OPEN,
Current FLOWING or NOT,
Voltage HIGH or LOW
Place holders are powers of 2
| Power of 2: | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|
| Decimal Weight: | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
| 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
Example: convert 1100010 to decimal
| Binary Number: | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|
| Decimal Weight of Placeholders: | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
| Contributions to Decimal Number: | 0 | 64 | 32 | 0 | 0 | 0 | 2 | 0 |
Correspondence between decimal digit and binary bits
"bit" is a contraction of "binary digit"
|
Comments, suggestions, or requests to ghw@udel.edu.
"http://www.physics.udel.edu/~watson/scen103/colloq2000/binary.html" Last updated April 12, 2000. © George Watson, Univ. of Delaware, 2000. |