Thursday, December 25, 2008

Address range which can be represented in 20 bit

Answer:

In Binary In hexadecimal

Minimum possible number 0000 0000 0000 0000 0000 0000

Maximum possible number 1111 1111 1111 1111 1111 FFFF


In c any hexadecimal number statr with 0x 0r 0X

So, address range will be 0x0000 to 0xFFFF

It is 1MB memory range.

Note.

2^10 = 1KB

2^20 = 1MB

2^30 = 1GB

Where 10, 20, 30 are number of bit.

1 comment:

Anonymous said...

why in turbo c pointers can store only 65536 ?what about rest of memory?

Blog List