You are on page 1of 2

Hexadecimal Addition Decimal basic concepts: Decimal is base 10.

There are 10 digits in counting (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) When you reach 10, you carry a 1 over to the next column The number after 9 is 10 Hexadecimal basic concepts: Hexadecimal is base 16. There are 16 digits in counting (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F) When you reach 16, you carry a 1 over to the next column The number after F (decimal 15) is 10 in hex (or 16 in decimal) Use the following steps to perform hexadecimal addition: 1. 2. Add one column at a time. Convert to decimal and add the numbers.

3a. If the result of step two is 16 or larger subtract the result from 16 and carry 1 to the next column. 3b. If the result of step two is less than 16, convert the number to hexadecimal.

Example: (Use the color code in each step to see whats happening) The problem: You are to add these numbers: A E C D 5 6 A 9 9 4

Carry Over: 1. Add one column at a time 2. Convert to decimal & add (9 + 4 = 13) 3. Follow less than 16 rule Decimal 13 is hexadecimal D Carry Over: 1. Add next column 2. Convert to decimal & add (10 + 9 = 19) 3. Follow 16 or larger than 16 rule (19 16 = 3 carry a 1) A E C D A E C D 5 6 A 9 9 4 D 1 5 6

A 9 3

9 4 D

Carry Over: 1. Add next column 2. Convert to decimal & add (1 + 5 + 6 = 12) 3. Follow less than 16 rule, convert to hex Decimal 12 is hexadecimal C Carry Over: 1. Add next column 2. Convert to decimal & add (12 + 13 = 25) 3. Follow 16 or larger than 16 rule (25 16 = 9 carry a 1) Carry Over: 1. Add next column 2. Convert and add (1 + 10 + 11 = 22) 3. Follow 16 or larger than 16 rule (22 16 = 6 carry a 1) Carry Over: 1. Add next column 2. Convert and add (1 + 0 + 0 = 1) 3. Follow less than 16 rule 1 0 0 1 1 A B 6 C D 9 A E C D

1 5 6 C

A 9 3

9 4 D

1 A E

C D 9

5 6 C

A 9 3

9 4 D

5 6 C

A 9 3

9 4 D

A B 6

C D 9

5 6 C

A 9 3

9 4 D

You might also like