answersLogoWhite

0


Best Answer

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

14y ago
This answer is:
User Avatar

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

Related questions

Subtract the hexadecimal number 5634 from DAB7 using two's complement addition method?

First, write each number in binary form:DAB7 = 1101 1010 1011 01115634 = 0101 0110 0011 0100Now take the two's complement of 5634 in two steps:1's complement: 1010 1001 1100 1011Add 1 to make the 2's complement: 1010 1001 1100 1100Now add to find your result:1101 1010 1011 0111 + 1010 1001 1100 1100 = 1000 0100 1000 0011And write the result in hex:8483This works because the two's complement is the negative of the original number.


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 inches into centimeteres?

-- take the number of inches-- multiply that number by 2.54-- the answer is the number of centimeters (rounded)Algebraic Steps / Dimensional Analysis____ in*2.54 cm1 in=? cm


What are the five steps to convert fuel int electrical energy?

describe the 5 steps to convert fuel into electrical energy


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 .


A positive is divided by a negative is the answer negative or positive?

previous answer: "the answer is - (negative)"I'd also like to add some steps and explainations to that.First, lets set a variable for the number---lets say x& y. If the positive number is x, and the negative one is y(lets make it -y to make it more clear), then the answer will equal x/-y. You can also write it into x/-y=x*1/-y or x*-(1/y). Since a negative number times a positive number will always be negative, then no matter what number you put for x or y, the answer will always be negative.The result will be negative.


How do you convert binary 1101001111011 to octal in steps?

15173


How you turn a fraction to a percent?

To convert a fraction to percent, divide the numerator (which also means top number) by the denominator (which also means bottom number). Example: To convert the fraction 3/4 to percent, divide 3 (top number) by 4 (bottom number) and the answer is.75. To convert to percent, move the decimal 2 steps to the right and insert the percent sign on the end: .75 = 75%


What are the steps of scientific notation?

To convert a number to scientific notation: · If the number has no decimal point, then add one at the end. · Then move the decimal point to just after the first digit while counting the number of places you have moved it. · The mantissa of the new number, formed after moving the decimal point is a. · If the original number is negative, then so is a. · The number of places to the left that the decimal point was moved is b. If it was moved to the right, then b is negative. For example: 23045.06 becomes 2.304506*10^4 -23045.06 becomes -2.304506*10^4 0.00023004 becomes 2.3004*10^-4


Steps in scientific notation?

To convert a number to scientific notation: · If the number has no decimal point, then add one at the end. · Then move the decimal point to just after the first digit while counting the number of places you have moved it. · The mantissa of the new number, formed after moving the decimal point is a. · If the original number is negative, then so is a. · The number of places to the left that the decimal point was moved is b. If it was moved to the right, then b is negative. For example: 23045.06 becomes 2.304506*10^4 -23045.06 becomes -2.304506*10^4 0.00023004 becomes 2.3004*10^-4