Question

Suppose the accumulater register of the processor is of 16 bit , now we can call this processor as 16 bit processor, that is this processor supports 16 bit addressing.

now my question is how we can calculate the number of memory cells that can be addressed by 16 bit addressing? according to my calculation 2 to the power 16 becomes 65055 it means the memory have 65055 cells now if we take 1KB=1000 Bytes then this becomes 65055/1000=65.055 now this means that 65 kilo bytes memory can be used with the processor having 16 bit addressing. now if we take 1KB=1024 Bytes then this becomes 65055/1024=63.5 ,it means that 63 kilo bytes memory can be used with this processor, but people say that 64 kilo bytes memory can be used.
Now tell me am i right or wrong and why i am wrong why people say that 64kb memory can be used with the processor having 16 bit addressing?

Was it helpful?

Solution

2 to the power 16 is 65536

1KB is 1024 bytes

65536/1024=64K

OTHER TIPS

2 to the power 16 equals to 65536. Divided by 1024 gives us 64K.

2 to the power of 16 is 65536, not 65055. And 1KB is 1000 Bytes, so 65536 / 1KB is 65.536 is 65 KB, so that' technically correct, but programmers usually mean 1024 Bytes when they say KB. http://en.wikipedia.org/wiki/Kilobyte

65536/1024 = 64.0

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top