Appendix b binary to hexadecimal conversion table, Binary to hexadecimal conversion table, Appendix – GE GFK-1852 User Manual

Page 69

Advertising
background image

GFK-1852

B-1

Binary to Hexadecimal Conversion Table

Hexadecimal digits have values from 0..15, represented as 0...9, A (for 10), B (for
11) ... F (for 15). Use the following table to convert binary-to-decimal-to-hex:

Decimal

Binary

Hexadecimal

0

0000

0

1

0001

1

2

0010

2

3

0011

3

4

0100

4

5

0101

5

6

0110

6

7

0111

7

8

1000

8

9

1001

9

10

1010

A

11

1011

B

12

1100

C

13

1101

D

14

1110

E

15

1111

F

Figure B-1. Decimal, Binary, and Hexadecimal Conversion Table

To convert a binary value that has more than four bits, separate it into groups of four
bits. (If the number of binary bits is not an even multiple of four, add leading zeroes
to make it an even multiple.) Each group of four binary bits represents a single
hexadecimal number. For example, let’s convert the binary number 1011110000 to
the hexadecimal number 2F0. First separate the binary number into groups of four
bits (add two leading zeroes): 0010 1111 0000. Then use the above conversion
table to find the hexadecimal value for each group: 0010 = 2, 1111 = F, 0000 = 0.

Appendix

B

Advertising