The result obtained on subtraction using 2’s complement of 1111-0010 will be _________

The result obtained on subtraction using 2’s complement of 1111-0010 will be _________
A. 11101
B. 11011
C. 1101
D. 1011
 
Answer: c
Explanation: Firstly, the 2’s complement of the 2nd number is obtained.
Then, if carry is generated, it is discarded and the number is positive.
Otherwise, 2’s complement of the result is obtained and the answer is negative.
Here, 1111+1110=1, 1101. Since carry is generated, it is discarded and the answer is positive.
 

Tìm kiếm

Back
Top