Hi all,
There are still time to time whereby i can confuse on (8bits or 2^7) and 2^8
It is known that 8 bits give you 256 value.
q1) But in actual fact 8 bits turn on is not 2^8 isnt it ?, it is actually 2^7 + 2^6 all the way to 2^0
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
2^7 | 2^6 | 2^5 | 2^4 | 2^3 | 2^2 | 2^1 | 2^0 |
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
q2) And adding all of them up (128+64+32....) only give me 255 which i believe the missing "1" is the digit 0; hence 0-255 = 256 values, am i right ?
Regards,
Noob