0

Hello all!

I am having difficulty understanding why the range of signed integers is from -128 to +127? Assuming the size of the register is 8 bits and the leftmost bit is reserved for sign shouldn't the size be -127 to +127. I figured that for the negative values the 8th bit will have a one and if you want the maximum value, the remaining bits will too be set to 1, thus the limit for the negative values will be 11111111 = -127. I can understand why the max possible value for positive integers is +127 as the value in the register will be 0111111 = +127. Do let me know where I am going wrong in understanding such a simple thing. Thank you all!