Addition and Subtraction of Binary Numbers using sign bit:
Sometimes an underscore (-) is used to distinguish the sign bit from the magnitude bit.
Thus, if a computer is capable of handling numbers of 5 bits (i.e., sign bit and 4 magnitude bits) then the number - 1011 is represented by 11011 where 1 denotes the negative sign and 1011 is the magnitude of the numbers.
Similarly 01101 indicate the binary number + 1101.
A negative numbers may also be represented by using 1’s complement of the magnitude of the number.
Thus the binary number – 1011 may be represented as 10100 where the MSB 1 means that the number is negative and 0100 is the 1’s complement of the magnitude of the given number.
Similarly, 10011
indicate the number – 1100 and so on.
In the same way 2’s complement may be used to represent a negative binary number.
For example, - 1011 may be represented as 10101 where 1 means that the number is negative and 0101 is the 2’s complement of the number 1011.
The addition and subtraction of binary numbers using sign bit methods of representing negative numbers may be used conveniently in the design of computers to evaluate sums and differences of binary numbers by addition only.
From Addition and Subtraction of Binary Numbers to HOME PAGE
Didn't find what you were looking for? Or want to know more information about Math Only Math. Use this Google Search to find what you need.
Dec 13, 24 08:43 AM
Dec 13, 24 12:31 AM
Dec 12, 24 11:22 PM
Dec 12, 24 10:31 PM
Dec 09, 24 10:39 PM
New! Comments
Have your say about what you just read! Leave me a comment in the box below. Ask a Question or Answer a Question.