
BASICS OF COMPUTER SYSTEMS 0-25
Take FA.
1111 1010 ...the number
0000 0101 + ...invert each bit
1 ...add 1
0000 0110 ...its 2’s complement
This is 6. Thus, FA is the two’s complement representation of −6.
Example 0.11
Find the decimal number whose two’s complement representation is given.
i) FFF2H
ii) F9H
Solution
i) FFF2H
Taking two’s complement gives 000E
which is 1110, i.e., 14, which means that −14 is the number represented by FFF2H.
ii) F9H
Taking two’s complement gives
0111, i.e., 7, which means that −7 is the number represented by F9H.
Question Looking at the result of various arithmetic operations on binary numbers,
how do we know w ...