In Section 9.3, the twos complement operation is defined as follows. To find the twos complement of X, take the

Question:

In Section 9.3, the twos complement operation is defined as follows. To find the twos complement of X, take the Boolean complement of each bit of X, and then add 1.
a. Show that the following is an equivalent definition. For an n-bit integer X, the twos complement of X is formed by treating X as an unsigned integer and calculating (2n - X).
b. Demonstrate that Figure 9.5 can be used to support graphically the claim in part (a), by showing how a clockwise movement is used to achieve subtraction.

This problem has been solved!


Do you need an answer to a question different from the above? Ask your question!

Step by Step Answer:

View Solution
Create a free account to access the answer
Cannot find your solution?
Post a FREE question now and get an answer within minutes. * Average response time.
Question Posted: April 22, 2016 05:26:23