Under Digital ElectronicsAs we are going through the basics of the digital electronics the first and very important part is understanding the different types of number system. As we have already discussed about the properties of various number system and interrelation among some of them, now this is the time to interrelate binary and hexadecimal number system. The conversion from one number system is quite easy and we will discuss both the cases in the following articles i.e. from binary to hexadecimal and from hexadecimal to binary conversion.
We take any binary number suppose 1000101001012 Breaking it into groups of 4 we get 1000|1010|0101 Now converting all the groups into decimal numbers individually we get 8 | 10 | 5 So the desired hexadecimal equivalent of the binary number 1000101001012 is 8A516
Binary to hexadecimal Conversion
To convert a binary number to hexadecimal number first we have to divide the digits of the binary number into groups of four taking from the right most side of the number and in the last group the number of digits is made four by putting zeroes in the left most side. After that the groups are converted into decimal numbers individually and written side by side in the same order as they were previously, now we have got the desired equivalent hexadecimal number of the binary number, an example will make it all clear for us.We take any binary number suppose 1000101001012 Breaking it into groups of 4 we get 1000|1010|0101 Now converting all the groups into decimal numbers individually we get 8 | 10 | 5 So the desired hexadecimal equivalent of the binary number 1000101001012 is 8A516
No comments:
Post a Comment