2^15-1 is the maximum number a 16-bit system can hold. 2^15-1 is 32,737. If it reaches that point, it wraps around to -32,738.
An n-bit system can store a value as high as (2^n)-1.
An n-bit system can store a value as high as (2^n)-1.
Two's complement.
Sort of. An n-bit system can hold 2^n numbers. Some start with 0, in which case they'll be able to store any value between 0 and (2^n)-1. Others use negative numbers, in which case they'll generally be able to store any value between -(2^(n-1)) and (2^(n-1))-1.
Is a way to store negative numbers. What about it?
I know about signed vs. unsigned, yes Just noting that you weren't really giving the full story.
I don't really see why you raised this in the first place, I think everyone who cared knew anyway. I think it was pretty obvious from the original comic that it was using two's complement.
Because I corrected the statement that "2^15-1 is the maximum number a 16-bit system can hold".