Ans. Two Advantages
1) The primary advantage of two's complement over one's complement is that two's complement only has one value for zero. One's complement has a "positive" zero and a "negative" zero.
2)While doing arithmetic operations like addition or subtraction using 1's, we have to add an extra carry bit, i.e 1 to the result to get the correct answer, e.g.:
but the correct answer is 0. In order to get 0 we have to add a carry bit 1 to the result (11111111 + 1 = 00000000).
In 2's complement, the result doesn't have to be modified:
/* PLEASE UPVOTE */
Get Answers For Free
Most questions answered within 1 hours.