waltervolpatto wrote:65536 code values
Yes, in the sense that it is the same arithmetic problem as how many fence posts if spaced 2 metres apart to go 500 metres? Divide (500/2) +1, because you need one at metre zero.
FFFF is
similar to the
decimal value 9,999 in the sense that the next number is the "even" 10,000.
FFFF+1 is written as 10000 (base 16 / hex).
Fun with math...
For those who don't work in different number bases...
in decimal we count 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11... (you know how it goes... I hope, after all, numeracy is?)
In hex, we count, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, ... 19, 1A, 1B, 1C, 1D, 1E, 1F, 20, 21... because we don't know what to call the single-digit numbers after 9 because our natural understanding jumps to 10, so we use the first 6 alphanumerics.
Like in 4-bit binary, the way computers think, there is no "2"... the data registers look like:
0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001... where 0100 is the decimal "4" and so on...
some of the blinking lights on the front panel of the DEC PDP-8, anyway... some of them were hex codes for assembler language.... [theremin music starts in the background]
jPo