Wednesday 23 July 2014

Hexadecimal Conversion

Theory of Binary to Decimal and hex Conversion

This article can cause you to perceive the variations between binary, decimal and hex values and can tell you ways to convert one format values into the other’s values in line with the CCNA 640-802 Cisco Certified Network Associate’ course detail 2011. i'm ranging from the binary list. The digits used area unit restricted to either a one (one) or a zero (zero) and every digit is termed one bit (short for binary digit). ordinarily we tend to count either four or eight bits along, these observed as a nibble and a computer memory unit correspondingly. The decimal worth format represents the eye to the binary list. The decimal format supported ten numbers. The binary numbers area unit place in an exceedingly worth speck: begin from right and move to left with each speck have the double worth of the previous speck.

Binary Values

Nibble Values computer memory unit Values

8 four two one one 28 sixty four thirty two sixteen eight four two 1

It shows the decimal values of every bit location in an exceedingly nibble and a computer memory unit.

Nibble

If “1” digit is place in an exceedingly worth speck then the nibble or computer memory unit acquires on it decimal worth and adds it to the other worth specks that have “1”. however if “0” is place in an exceedingly worth speck we are going to not count that worth. Let Maine make a case for, if we tend to place one in each speck of nibble (1111), we tend to then add up eight + four + two + one, to get a most worth of fifteen. Another example of nibble values 1010, its means that eight bit and a couple of bit area unit turned on and that we will get the decimal worth of ten. a new example, nibble binary worth of 0110, four and a couple of bits area unit turned on, therefore we tend to shall realize the decimal worth of six.

Byte

Another sight, the computer memory unit values add up to above fifteen. Let Maine make a case for this additionally, if we tend to count every bit as “1” in an exceedingly computer memory unit (11111111), we tend to shall get the decimal worth of 128+64+32+16+8+4+2+1 = 255. this can be a most worth of a computer memory unit. i would like to clarify it additional deeply, therefore binary worth 01010110, it shows that the sixty four sixteen four two bits area unit on during this worth and if we tend to shall add them, we tend to shall realize this sixty four + sixteen + four + two = eighty six, that is adequate the binary worth of 01010110. in our own way of observe, realize the binary worth of this: 128, 16, four and a couple of bits area unit turned on, and that we will realize the binary worth of 10010110 and decimal worth of one hundred fifty.

To study in additional economical manner, you need to observe it once more and once more with totally different values in each higher than mentioned ways. the subsequent table can assist you and you ought to study it.

Binary to Decimal acquisition Chart

Binary worth Decimal Value
10000000 128
11000000 192
11100000 224
11110000 240
11111000 248
11111100 252
11111110 254
11111111 255
Hex / hex

“Hex” is brief for hex. this can be a list system that uses the primary six letters of the alphabet “A to F” to enlarge the accessible ten digits of the decimal worth. So, Hex / hex worth has total sixteen digits.

No comments:

Post a Comment