8 bit binary number $01101110$ is on a computer using two’s complement representation. What should it be in decimal?
My solution is:
reverse it to $10010001$
$10010001+1 = 10010010$
$10010010$ to decimal is $146$
answer is $-146$
but this seems incorrect.
Any ideas?
Th number is positive because the MSB is $0$. So simply $01101110_2 = 64+32+8+4+2$.