On addition of -33 and -40 using 2's complement we get
Answers
Answered by
0
From the given question the correct answer is :
On addition of -33 and -40 using 2's complement we get -1001001
Answered by
0
On addition of -33 and -40 using 2's complement we get -1001001
Explanation:
To calculate the 2's complement we :
- Simply invert each bit of given binary number, which will be 01010001.
- Then add 1 to the LSB of obtained result of the prior binary number.
- Similarly we will do for -33 and -40 The obtained result of the addition of both of them is: -1001001
- Two's complement allows negative and positive numbers to be added together without any special logic.
- The same goes with the subtraction.
- The subtraction and addition of both positive and negative numbers can all be done by the same circuit in the cpu.
Similar questions