Книга: Advanced PIC Microcontroller Projects in C
1.9 Converting Hexadecimal Numbers into Binary
Разделы на этой странице:
1.9 Converting Hexadecimal Numbers into Binary
To convert a hexadecimal number into binary, write the 4-bit binary equivalent of each hexadecimal digit.
Example 1.9
Convert hexadecimal number A916 into binary.
Solution 1.9
Writing the binary equivalent of each hexadecimal digit:
A = 10102 9 = 10012
The binary number is 101010012.
Example 1.10
Convert hexadecimal number FE3C16 into binary.
Solution 1.10
Writing the binary equivalent of each hexadecimal digit:
F = 11112 E = 11102 3 = 00112 C = 11002
The binary number is 11111110001111002.
Оглавление статьи/книги
- 1.1 Introduction
- 1.2 Microcontroller Systems
- 1.3 Microcontroller Features
- 1.4 Microcontroller Architectures
- 1.5 Number Systems
- 1.6 Converting Binary Numbers into Decimal
- 1.7 Converting Decimal Numbers into Binary
- 1.8 Converting Binary Numbers into Hexadecimal
- 1.9 Converting Hexadecimal Numbers into Binary
- 1.10 Converting Hexadecimal Numbers into Decimal
- 1.11 Converting Decimal Numbers into Hexadecimal
- 1.12 Converting Octal Numbers into Decimal
- 1.13 Converting Decimal Numbers into Octal
- 1.14 Converting Octal Numbers into Binary
- 1.15 Converting Binary Numbers into Octal
- 1.16 Negative Numbers
- 1.17 Adding Binary Numbers
- 1.18 Subtracting Binary Numbers
- 1.19 Multiplication of Binary Numbers
- 1.20 Division of Binary Numbers
- 1.21 Floating Point Numbers
- 1.22 Converting a Floating Point Number into Decimal
- 1.23 BCD Numbers
- 1.24 Summary
- 1.25 Exercises
Похожие страницы
- Hexadecimal, or ‘hex’ to its friends
- Numbers
- 1.6 Converting Binary Numbers into Decimal
- 1.7 Converting Decimal Numbers into Binary
- 1.8 Converting Binary Numbers into Hexadecimal
- 1.10 Converting Hexadecimal Numbers into Decimal
- 1.11 Converting Decimal Numbers into Hexadecimal
- 1.12 Converting Octal Numbers into Decimal
- 1.13 Converting Decimal Numbers into Octal
- 1.14 Converting Octal Numbers into Binary
- 1.15 Converting Binary Numbers into Octal
- 1.16 Negative Numbers