There are two ways to convert binary numbers (01) to base numbers (0,1,2..9). The first way is through a chart.
|
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
|
128 |
64 |
32 |
16 |
8 |
4 |
2 |
1 |
So if you are trying to convert 11010100 it would look like this:
|
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
|
128 |
64 |
32 |
16 |
8 |
4 |
2 |
1 |
1 1 0 1 0 1 0 0 =212
The 1′s and 0′s are like switches. 1 means the switch is on and 0 means the switch is off.
The second way is through an equation. For example if you are trying to convert 11010100 it would look like:
1*27+1*26+0*25+1*24+0*23+1*22+0*21+0*20=212
Word Size
Word size is the number of bits that a CPU can process at one time. Processors with many different word sizes have existed though powers of two (8, 16, 32, 64) have predominated for many years. A processor’s word size is often equal to the width of its external data bus though sometimes the bus is made narrower than the CPU (often half as many bits) to economise on packaging and circuit board costs.

Leave a comment
Comments feed for this article