Binary Systems
MSB
-
The bit which represents the highest order of an integer.
-
Typically the left most bit.
-
In case of signed integers, MSB is used to indicate the nature of the integer.
-
For a binary number consisting of n-bits, n-1 bits is used for storing the value and nth bit for storing its sign.
-
MSB has a negative weight in case of signed integer. (-1 * MSB)
LSB
- The bit which represents the lowest order of an integer.
- Typically the right most bit.