0
4.1kviews
Perform the following operation using 2's compliment

i) $(7)_{10}- (15)_{10}$

ii) $(50)_{10}-(2A)_{16}$

Comment on results of (i) and (ii)

1 Answer
0
301views

1) $(7)_{10} - (15)_{10}$

$(7)_{10} = (0111)_2$

$(15)_{10} = (1111)_2$

1's Complement of $(15)_{10}$ = $(0000)_2$

2's Complement of $(15)_{10}$ = $(0000)_2 +(0001)_2 = (0001)_2 $

Now,

$(7)_{10} - (15)_{10} = (0111)_2 + (0001)_2 = (1000)_2$

Since, no carry over is generated, the result of subtraction is Negative.

The …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.