### Question 3

In case a negative number is represented as two’s complement, which of the following is an appropriate method for obtaining a numerical value whose absolute value is equal, but whose sign is different? In this example, the sign (0 for positive, 1 for negative) is the most significant bit.

a) Invert each bit and add 1 to the result.

b) Invert each bit and add 2 to the result.

c) Invert each bit.

d) Change the sign bit to 1.

## No comments:

Post a Comment