explain 1s and 2s complement method of binary subtraction with example?
Answers
Answered by
3
Answer:
Example: -1101 and -1110 in five-bit register
So, for finding 2's complement, we add 1 to the LSB of the 1's complement of these numbers. 2's complement of the number 01110 is 10010, and 01101 is 10011. By adding both numbers, we get the end-around carry 1.
Similar questions