0 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 1.1k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote 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 0 reply Please log in or register to add a comment.
0 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 1 1 comment reply prashant dubey commented Apr 8, 2019 reply Follow flag 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 0 replyShare Please log in or register to add a comment.