Page 12 - Digital Electronics by harish
P. 12

The following procedure can be used for converting the binary number to octal number:

               Step 1 : Group the binary digits in threes, starting at the binary point.
               Step 2 : Convert each group of three to its octal equivalent

               Example: To convert the binary number 1101110.101011 to octal number

                       Step 1 : 001   101  110   .    101   011 (Group)
                       Step 2 :   1       5      6     .       5      3   (Octal equivalent)


                       Therefore, 1101110.101011 2 = 156.53 8

               Binary to hexadecimal conversion

               The  binary  numbers  for  the  hexadecimal  numbers  from  0  to  F  are  given  in  the  following
               table:

                                                Binary           Hexadecimal
                                                 0000                 0
                                                 0001                 1
                                                 0010                 2
                                                 0011                 3
                                                 0100                 4
                                                 0101                 5
                                                 0110                 6
                                                 0111                 7
                                                 1000                 8
                                                 1001                 9
                                                 1010                 A
                                                 1011                 B
                                                 1100                 C
                                                 1101                 D
                                                 1110                 E
                                                 1111                 F


               The following procedure can be used for converting the binary number to octal number:

               Step 1 : Group the binary digits in fours, starting at the binary point.
               Step 2 : Convert each group of four to its hexadecimal equivalent

               Example: To convert the binary number 1101110.101011 to hexadecimal number

                       Step 1 : 0110   1110       .    1010   1100 (Group)
                       Step 2 :    6        E          .       A        C    (Hexadecimal equivalent)


                       Therefore, 1101110.101011 2 = 6E.AC 16








                                                           12
   7   8   9   10   11   12   13   14   15   16   17