My question is related to 1's complement. In the book it is mentioned that +6 is represented as 0110 and -6 as 1001 ( 1's complement of 6).
If the system is using the pattern 1001 to represent -6, then how will it represent 9, since the binary of 9 is also 1001?
Can someone please throw light on where I am missing on the logic.
The point is that the number "width" in bits (the "word size") is given. So with 4 bits 3 bits can be used for the actual size of the number (its absolute value) and 1 bit (the leftmost) for its sign. With 3 bits we can go from -7 to 7 that way (with 0 having two representations, so the 16 bit strings are all used).
So +9 cannot be represented, unless we use more bits.