✏️ Explanatory Question

How a negative integer is stored.

👁 1,128 Views
📘 Detailed Answer
💡

Answer with Explanation

Get the two-S compliment of the same positive integer. Eg: 1011 (-5)

Step-A − One-S compliment of 5 : 1010

Step-B − Add 1 to above, giving 1011, which is -5