The binary number system is a numbering system that represents numeric values using two unique digits (0 and 1).
It is also called as base (2) number system. Each position in a binary number represents a 0 power of the base (2), that is, 20 . The last position in a binary number represents x power of the base (2), that is, 2x where x represents the last position 1.
The leftmost bit is called Most Significant Bit (MSB) and the rightmost bit is called Least Significant Bit (LSB).
Binary | Decimal |
0000
|
0
|
0001
|
1
|
0010
|
2
|
0011
|
3
|
It is also called as base (2) number system. Each position in a binary number represents a 0 power of the base (2), that is, 20 . The last position in a binary number represents x power of the base (2), that is, 2x where x represents the last position 1.
The leftmost bit is called Most Significant Bit (MSB) and the rightmost bit is called Least Significant Bit (LSB).
27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | ||
MSB ===> | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | <=== LSB |
No comments:
Post a Comment