Hi,
How 0FFFFh is called 64k ( actually it is 65535 decimal, 64k - 1, including zero it is 64K) is as follows:
Just as in decimal system each digit in a number has a digit value (0 to 9) as well as a place value (units, tens hundreds etc.,) associated with it, in a hexadecimal numbering system each digit has sixteen values (0 t0 F) and a place value of units, 16, 256, 4096 etc.
We calculate the value of number n1n2n3 in a Decimal system as:
n1*100 + n2*10 + n3*1
Similarly the value of a hexadecimal number n1n2 n3 is computed as :
n1*256 +n2*16 + n3*1.
Therefore the value of number FFFFh can be worked out as (since F is decimal 15) :
15*4096 + 15*256 + 15*16 + 15 = 65535
As a convention, the number 1024 is called as 1k since it is almost equal to decimal 1000 and correspondingly 256 is called 1/4k and 2048 is called 2k and so on.
Regards,
Laktronics