29.8k views
1 vote
Add two binary numbers in two's complement notation. The result shall be in binary form with four bits: 1101+1110

User Omer
by
7.6k points

1 Answer

7 votes

Final answer:

To add two binary numbers in two's complement notation, follow the same rules as adding ordinary numbers. The example 1101 + 1110 equals 10111 in binary form, which represents -5 in decimal form.

Step-by-step explanation:

To add two binary numbers in two's complement notation, you can follow the same rules as adding ordinary numbers.

In two's complement notation, negative numbers are represented by taking the two's complement of the positive number.

In the given example, 1101 represents -3 and 1110 represents -2.

To add them, you can add the binary numbers as if they were positive numbers:

1101

+ 1110

______

10111

This result represents -5 in decimal form.

User Vanzylv
by
7.1k points