Professional Documents
Culture Documents
Digital Arithmetic
Digital Arithmetic
Dolly Indra
1 1
(b) 18 0 0 0 1 00 1 0
2 0 0 0 0 0 01 0
+ +
20 0 0 0 1 0 1 0 0 = 20
(10)
Arithmetic/Digital System/FIK/Dolly Indra/2015
Exercises
• Perform the following decimal additions and convert the
original decimal members to binary and add them.
Decimal Decimal
(a) 8 (c) 50
3 6
+ +
Two’s complement = 1 1 1 1 1 1 1 1
Two’s complement = 1 1 1 1 1 1 0 1 1 10 1
Arithmetic/Digital System/FIK/Dolly Indra/2015
Hexadecimal Arithmetic
• The procedure for adding hex digits is as follows :
1. Add the two hex digits by working with their
decimal equivalent
2. If the decimal sum is less than 16, write down
the hex equivalent
3. If the decimal sum is 16 or more, subtract 16,
write down the hex result in that column, and
carry 1 to the next-more-significant column
0 0000 0 8 1000 8
1 0001 1 9 1001 9
2 0010 2 A 1010 10
3 0011 3 B 1011 11
4 0100 4 C 1100 12
5 0101 5 D 1101 13
6 0110 6 E 1110 14
7 0111 7 F 1111 15