0 votes 0 votes How can we convert a signed number to it's equivalent unsigned number? Let's say I have signed number as -2 now what would be it's equivalent unsigned representation. Thanks! Digital Logic digital-logic number-representation + – iarnav asked Dec 27, 2017 iarnav 696 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes See if you have number -2 in sign magnitude representation that means you can represent it as 110 here first 1 at MSB is for negative sign if you see this number in unsigned representation then that number is +6. Yash4444 answered Jan 9, 2019 Yash4444 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes if n=-2 then it representation is 1110 to convert to equivalent unsigned number just complement it and add 1 1110->0001->0001+1=0010(2) G Phalkey answered Jan 23, 2019 G Phalkey comment Share Follow See 1 comment See all 1 1 comment reply prashant dubey commented Apr 8, 2019 reply Follow Share why -2 representation in signed number 1110 . i think 1110 in 2's complement representation. correct representation of -2 in signed format is 110 where msb 1 is used for sign. and their corresponding unsigned representation is 6 0 votes 0 votes Please log in or register to add a comment.