1 / 6

Chapter 2

Chapter 2. Conversion. Any base to decimal. ( S k-1 … S 2 S 1 S 0 . S -1 S -2 …S -L ) b. S k-1 x b k-1 + … + S 2 X b 2 + S 1 X b 1 + S 0 X b 0. S -1 x b -1 + S -2 X b -2 + … + S -L X b -L. n = . +. Decimal to any base. Convert integral part. Convert fractional part.

dooley
Télécharger la présentation

Chapter 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 2 Conversion

  2. Any base to decimal ( Sk-1 … S2S1S0.S-1S-2…S-L ) b Sk-1 x bk-1+ … + S2 X b2+ S1X b1+ S0X b0 S-1 x b-1+ S-2 X b-2+ … + S-LX b-L n = +

  3. Decimal to any base Convert integral part Convert fractional part In each step: - Keep the Remainder in the Destination. - Stop when Quotient =0 In each step: - Keep the Integral part in the Destination. - Stop when Fractional part =0OR destination digits are enough

  4. Binary to Hexadecimal • Starting from the rightmost bit: • Group each 4 bits together. • Use the table. • Hexadecimal to Binary - Use the table.

  5. Binary to Octal • Starting from the rightmost bit: • Group each 3 bits together. • Use the table. • Octal to Binary - Use the table.

  6. Octal to Hexadecimal or vise versa Use the binary system as the intermediate system.

More Related