Jump to content

computer organisation


annitaz

Recommended Posts

What is the maximum memory locations that can be addressed by a chip with 20 address pins?

 

(1) 20

(2) 262 144

(3) 524 288

(4) 1 048 576

(5) None of the above

 

Can anyone tell me how I can calculate the memory locations?

 

A memory has 1024 storage units with a width of 32. Suppose that the memory is byte addressable. What is the address of the highest addressable memory position?

 

(1) 1023

(2) 1024

(3) 2048

(4) 4096

(5) 4095

Is the correct answer 4095 (1024x4(sets of 8 bits)) =4096-1=4095??

Is that correct?

Link to comment
Share on other sites

  • 2 weeks later...

question 1:

2^20=1048576 addressable storage locations. Note that a "storage location" is generally known as a "segment" and in this case the segment offset to each specific byte would need to be in a separately stored offset.

 

the second question depends on wether the first byte is addressed as 0 or 1. usually 0 is a "null" sentinel, so almost all pointers to memory (memory addresses) would be >0, so the answer would be 4096.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.