answersLogoWhite

0

1. Convert the positive equivalent to binary.

2. Fill with zeroes, to the left, up to the desired length.

3. Change all 1's to 0's, and all 0's to 1's.

4. Add 1.

Example:

Decimal -12; convert to 2's complement, for a single byte:

1. Convert to binary: 1100

2. Fill with zeroes: 00001100

3. Change 1's and 0's: 11110011

4. Add 1: 11110100

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine

Add your answer:

Earn +20 pts
Q: What are the 4 steps to convert a negative number using 2's complement?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

Why does a negative number multiplied by a negative number equals a positive number?

This is NOT a proof, just an explanation. Imagine you are on a number line and you are walking. Multiplying x*y is taking x steps, each of size y. Negative steps are interpreted by requriring you to face the negative end of the line before you start walking and negative step sizes are backward where backward is heel first. This mean to find, -x*-y you stand on zero, face in the negative direction, and then take x backward steps, each of size y.


Why is negative plus negative positive?

A negative plus a negative is a negative number. It is a larger negative number, that is, it is a smaller number - IOW, it is farther to the left on the number line.You probably meant to ask why is a negative number TIMES a negative number a positive number.Think of multiplying m times n as taking m steps, n times. For example, multiplying 3 times 4 means taking three steps - starting at zero and going to the right - four times. When you're done, you will have taken 12 steps to the right.If you multiply 3 times -4, it is like taking 3 steps backwards. Start at zero, take three steps backwards four times and you end up at -12.Multiplying -3 times 4 is like taking backwards steps four times. So take three backwards steps, four times, and you end up at -12.Multiplying -3 times -4 is like taking three backwards steps and going backwards four times. It's like a double reverse.My answer is a short version of a post on mathforum.org (http://mathforum.org/dr.math/faq/faq.negxneg.html). On that page, see the example titled "On the Road" for a good application of why this is true.


How do you convert small to large number?

There are a number of things you could do to the small number: -- Add positive numbers to it. -- Subtract negative numbers from it. -- Multiply it by numbers greater than ' 1 ' . -- Divide it by numbers less than ' 1 '. -- Raise it to positive powers greater than ' 1 '. Repeat any of these steps until the small number grows to the size you want.


How I change 33 1/3 into an improper fraction?

Convert to a Fraction 33 1/3%. Convert the percentage to a fraction by placing the expression over . Percentage means 'out of '. Reduce the fraction. Tap for more steps... Convert to an improper fraction. Tap for more steps... A mixed number is an addition of its whole and fractional parts. Add and . Tap for more steps... To write as a fraction with a common denominator, multiply by .


How do you convert a number in to a fraction?

I assume you mean a decimal number. Move the point to the right, counting the steps until at last you have no more numbers to the right, or only zeros. Each step is equivalent to multiplying by 10. Suppose there are N steps. The number you now have on the left, divided by 1 followed by N zeros is your fraction. So 1.234 becomes (with 3 steps) 1234/1000