Question: To perform additions with the 2 s complement representation, which of the following mechanisms should be adopted to produce correct results ? ( a )

To perform additions with the 2s complement representation, which of the following mechanisms should be adopted to produce correct results ?
(a) Signs of both operands should be recorded to determine the sign of the result
(b) Sign of the result should be flipped to the opposite when there is a carry out of the
sign bit
(c) Adding 7 to the LSB of the result when there is a carry out of the sign bit
(d) Except the sign bit, flipping all the bits of the result to the opposite when there is a
carry out of the sign bit
(e) Any carry out of the sign bit should be ignored

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!