First nibble, meaning 4 bits, contain the value `6` and the second nibble contains the value `8`. Move value 0 from position 6 of MSB to position 3 of LSBġ 2A byte consists of 8 bits. Move value 1 from position 7 of MSB to position 2 of LSB Move value 1 from position 8 of MSB to position 1 of LSB Note that in the below case position 1 is being referred to the leftmost bit. Given below is how the bits will be moved if we are converting from MSB to LSB. If we want to convert this value in the LSB (Least Significant Bit) style then we need to store the least significant bit first going from left to right. After adding an additional zero to the left the binary value looks like 01000011. Because the most significant bit comes first we can pad an additional zero to the left to make the number of bits eight. If you are following MSB style then going from left to right (and you always go from left to right) then the most significant bit will come first. The binary value of 67 is 1000011.įirst let's discuss MSB (most significant bit) style. Most significant bit vs Least significant bitĪll bits are not created equal.
In order to understand the difference first lets discuss MSB and LSB. Notice the difference in result from the first case.