Computer Science, asked by gauravjoshi3221, 7 months ago

2's complement answer for 10101011 - 101010

Answers

Answered by sanjana230
0

Explanation:

In a signed binary two's complement, first bit (the leftmost) indicates the sign,

1 = negative, 0 = positive.

1010 1011 is the binary representation of a negative integer, on 8 bits.

* Run this step only if the number is negative *

Subtract 1 from the binary initial number:

1010 1011 - 1 = 1010 1010

Similar questions