Page 39 - ComputerScience_Class_11
P. 39
1.5.1 Hexadecimal Addition
Hexadecimal addition can be done by following these steps:
1. Sum of the digits of the addends are calculated starting from the rightmost digit to the leftmost.
2. If the sum is less than 16, write the hexadecimal value as the result in that column.
3. If the sum exceeds 15, then subtract 16 from the result. The difference is taken as sum and 1 is carried to the next
more significant column.
Note: Alternatively, hexadecimal addition can be done using hexadecimal addition table. Add row value
with column value. The intersection cell is the sum. If the result is a two-digit number, the right digit is
taken as the sum and the left digit (1) is carried to the adjacent left digit.
+ 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 1 2 3 4 5 6 7 8 9 A B C D E F
1 1 2 3 4 5 6 7 8 9 A B C D E F 10
2 2 3 4 5 6 7 8 9 A B C D E F 10 11
3 3 4 5 6 7 8 9 A B C D E F 10 11 12
4 4 5 6 7 8 9 A B C D E F 10 11 12 13
5 5 6 7 8 9 A B C D E F 10 11 12 13 14
6 6 7 8 9 A B C D E F 10 11 12 13 14 15
7 7 8 9 A B C D E F 10 11 12 13 14 15 16
8 8 9 A B C D E F 10 11 12 13 14 15 16 17
9 9 A B C D E F 10 11 12 13 14 15 16 17 18
A A B C D E F 10 11 12 13 14 15 16 17 18 19
B B C D E F 10 11 12 13 14 15 16 17 18 19 1A
C C D E F 10 11 12 13 14 15 16 17 18 19 1A 1B
D D E F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C
E E F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D
F F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E
Example 1: (4A6) + (1B) 16 +1
16
Answer: 4 A (10) 6
+ 1 B (11)
(4C1) 16 4 C 1
Example 2: (A98.51) + (72C.D) 16 +1 +1 +1
16
Answer: A (10) 9 8 . 5 1
+ 7 2 C (12) . D (13)
(11C5.21) 16 1 1 C 5 . 2 1
System of Numeration 37

