Say we are having 4 bits to represent a SIGNED number so, a total of 2^4 = 16 numbers (using 2's complement method). the range is from -8 to +7. The range, i see ,is from -7 to +7. if the first bit is all about the sign how come it represent a magnitude?. for eg:
to represent -7 we go first from +7 like first bit represent sign other magnitude
+7=0111(0 for +ve number)
the find its 2's complement (-7)
-7=(1000+1)=1001(1 for negative)
so don't we need 5 bits to represent -8 because 1st will represent the sign like
firstly, +8=01000(0 for +ve)
whose 2's complement is -8=(10111+1)=(11000) (1 for negative) how come -8 be only 1000.(isn't that 1 sign bit ) why is the sign also indicating the magnitude?Thank you!