
BASICS OF COMPUTER ARCHITECTURE AND THE BINARY NUMBER SYSTEM 21
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 whether it is a positive or a negative number? What is your observation
regarding signed numbers?
Answer We should know how many bits are used for the representation of a signed
number in the system. en, if the MSB is a ‘1’, it is a negative number, if the MSB is a
‘0’, it is a positive number.
0.6 | Computer Arithmetic
0.6.1 | Addition of Unsigned Numbers
When we say that a number ...