Converting 2's complement binary to decimal - binary

I'm having some difficulty understanding how I would go about doing this. I've been given some binary numbers to convert to decimal with the question saying:
Convert the 2's complement numbers below to decimal
#1 : 1001
#2 : 0010
For #1 I know you would just take the 2's complement to find the magnitude because the 1 indicates it's negative. So it would really be 0111 or -7. What I'm having trouble with is if I should do the same process with #2. It's not negative so I don't know if the problem wants me to instead take the 2's comp or if the decimal would just be 2?

Related

Does the most significant bit of a Two's Complement number indicate its sign?

I was converting -15 to Two's complement -
15 in binary = 1111
Flip bits and add 1 = 0001
However I also thought that the leftmost digit of a two's complement number indicates whether it represents a positive (0) or negative (1) number? Need some help understanding this

Two's complement confusion

I have a sign and magnitude representation of 7 (0111). And converting this to two's complement would be (change the 1 to 0 and 0 to 1, then add 1). Which would make:
1000. and then 1001. However in my book and online converters say that it's 0111. So the two's complement is the same for every positive number. Using the method I mentioned however works for the - ones. Why?

Binary - Two's Compliment Addition

I've been given the directions
Add the following binary 2's compliment representation values
in 16 bits, then write "overflow".
0001 0101 0111 1101
+ 0111 1111 1011 1111
I've tried to understand 2's complement, and I do to an extent. But, I'm still not clear on several things. Is 2's complement only used for negative values? I think how I would solve this problem would be to start by taking each number, inverting it, adding 1, then adding them together. Is this the proper way to do it?
Thank you
Two's compliment is a representation for handling positive and negative values in a way that allows you to follow the mechanics for doing addition as if they were positive values, but end up with the correct result even if either or both values represent negative values.
Taking the two's compliment is used to change the representation to be that of the negative of the value you started with. Since you are not asked to negate anything, you should not be doing this.

convert negative decimal to binary using 8 bits

(Not sure if I am allow to ask a question like this but will delete if asked)
Convert -25 into binary representation using 8 bits and 2's complement format to represent a negative number. So far I got 11001.
I tried to google methods but I am not sure how to do it using the 8 bits way.
This question is not using code, just conversions but from what I did was
convert it to binary which was 11001 then I added 3 zero's to make it 8bits (assuming that is correct) 00011001 then I did 1's complement 11100110 and 2's complement by adding 1 which equals 11100111.
I am not sure if that is correct.
Two's complement is probably one of the more straightforward operations on binary numbers. In short, you'll want to take the following actions to convert a decimal number into two's complement form:
Write down the binary representation of the positive version of your number. In this case, 25 should be represented as: 00011001
Next, flip all the digits: 11100110
Add one: 11100111
Sit back, grab a drink, and bask in the glory of the newly-created two's complement representation of a decimal number.
Source
1.assume the negative sign and get the binary of the positive integer.adopt 8bit notation
25--00011001
2.get the two's complement.
11100111
+ 1
=11111000
3.relax and enjoy the two's complement

Wierd binary arithmetic using 2's complement

Please move this question to other stackexchange site if its not the part of SO.
If i subtract 1110 from 1001 using 2's complement method, then the result is (-)1011 . But it should have been (-)101 . Why does this happen? Is 2's complement method is inadequate? Or there's something i'm missing?
Solved.
I didn't knew negative numbers were represented a bit different on 2's complement. It seems that negative numbers in 2's complement are represented such that it yields 0 when added to the additive inverse.
More on : academic.evergreen.edu/projects/biophysics/technotes/program/2s_comp.htm