Most significant bit
Sample binary representation of the byte in the decimal system 149, highlighted with the most significant bit. The weight of MSB is 128 (2) and LSB - 1.
The most significant bit (MSB), also known as the oldest bit, is the bit of the highest weight, located in the machine word at the leftmost point, representing the greatest number. For example, for 8-bit values it can be: 10010101
In binary code, the most significant bit is the sign of the number - when it is equal to 1, the number is negative when 0 is positive. The exception is zero, which, depending on the encoding, can have this bit set or reset.
wiki
Comments
Post a Comment