Page 35 - Cs_withBlue_J_C11_Flipbook
P. 35
+ 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
1.5.2 Hexadecimal Subtraction
Hexadecimal subtraction can be done by following three different methods.
• Borrow method
• 15’s complement method
• 16’s complement method
Hexadecimal Subtraction by Borrow Method
Hexadecimal subtraction can be performed by borrow method with the same way as decimal subtraction.
The steps to be followed are:
1. Subtract each digit of minuend and subtrahend starting from rightmost column (LSB).
2. If the minuend digit is smaller, borrow 16 from the previous digit.
Example 1: (FCA) - (94F)
16 16
Answer: +16
B (11)
F (15) C (12) A (10)
- 9 4 F (15)
(67B) 16 6 7 B
33
Numbers 33

