13.07.2015 Views

The Midterm Solution - Suraj @ LUMS - Lahore University of ...

The Midterm Solution - Suraj @ LUMS - Lahore University of ...

The Midterm Solution - Suraj @ LUMS - Lahore University of ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Q22. [10 marks] An 8-bit microprocessor has a total addressable space <strong>of</strong> 64 kBytes.Organize the memory space so that the first 16 kBytes is ROM. <strong>The</strong> next 8 kBytes isempty for future expansion. This is followed by 16 kBytes RAM. <strong>The</strong> remaining spaceis once again empty for future expansion.(a) Label the starting and ending addresses <strong>of</strong> each region in hexadecimal. [4]16 k Bytes (ROM)8 k Bytes (free)16 k Bytes (RAM)0000 h3FF F h4000 h5FFF h6000 h9FFF hA000 hfreeFFFF hRough WorkIf the available ROM chips are (16k x 8) and RAM chips are (16k x 8). Draw ablock diagram <strong>of</strong> a suitable memory design implementing the memory mapdescribed in part (a) on the reverse side <strong>of</strong> this sheet. Label the address,data, and control lines on the microprocessor and memory chips. You mayuse additional logic chips if required. [6]Page 8 <strong>of</strong> 16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!