0% found this document useful (0 votes)
23 views2 pages

ch10 Prob

Uploaded by

Aliaa Tarek Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views2 pages

ch10 Prob

Uploaded by

Aliaa Tarek Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Memory Organization and Address Decoding

Problems for 8088 Microprocessor

1. Calculating Memory Size


A memory chip has 16 address lines and 8 data lines. What is the total
memory capacity (in bytes) of this chip? Explain your answer.
2. Memory Addressing
Consider a memory system with 20 address lines. How many unique mem-
ory locations can be addressed? What is the total memory size (in bytes)
that this system can support?

3. Chip Select Logic


You have four 8 KB memory chips that need to be connected to a micro-
processor. Describe how you would connect these chips so that each chip
occupies a unique address range. What would be the address range for
each chip?

4. Expanding Memory Capacity


A microcontroller has 64 KB of on-chip RAM. You want to expand this
by adding external RAM to increase the total memory to 128 KB. How
many address lines will be needed to access the entire memory space, and
how would you organize the address decoding to ensure the internal and
external RAM do not overlap?
5. Determining Memory Module Size
A system uses a memory module with 12 address lines and 4 data lines.
Calculate the size of this memory module in bytes. If another memory
module with double the capacity is added, how many total address lines
would be needed?

6. Address Decoding for Multiple Memory Chips


Design an address decoding scheme to connect two 256 KB RAM chips and
one 128 KB ROM chip to a system. Each chip should occupy a separate
address range. Indicate the starting and ending addresses for each chip.

7. Calculating Number of Chips Required


You need to design a system with 2 MB of memory, using memory chips
that are each 64 KB in size. How many memory chips will be required,
and how would you organize them to form the complete memory system?

1
8. Calculating Maximum Memory for a System
If a microprocessor has 24 address lines and 16 data lines, calculate the
maximum memory capacity (in bytes) that the microprocessor can ad-
dress. Explain your calculations.
9. Memory Chip Selection
The 8088 microprocessor has a 20-bit address bus. Assume you have a
memory chip with 4 KB capacity. How many address lines are required to
address this memory chip? What would be the range of addresses assigned
to this chip if it starts at address 2000H?
10. Address Range Assignment
Consider a system where the 8088 microprocessor is connected to two 8
KB ROM chips. The first ROM chip is mapped to the address range
starting from 0000H. Determine the address range for the second ROM
chip.
11. Designing Address Decoding Circuit
The 8088 microprocessor is interfaced with a RAM chip that has 2 KB
of memory space. Design an address decoding circuit that can select this
RAM chip at the address range D000H to D7FFH. Explain the process of
designing the decoder using logic gates or decoders (such as 74LS138).
12. Chip Enable Problem
Suppose you have an 8088 microprocessor and a memory chip with a chip
enable (CE) input that must be low for the chip to be accessed. The chip
is located at the address range C0000H to C3FFFH. How would you generate
the chip enable signal using address lines from the 8088?
13. Address Decoding with Multiple Chips
A system uses three memory chips: a 4 KB ROM chip starting at 00000H,
a 4 KB RAM chip starting at 10000H, and an 8 KB EEPROM chip starting
at 20000H. Design an address decoding scheme to ensure proper selection
of each memory chip. Indicate which address lines will be used for decod-
ing and explain your design.
14. Memory Bank Interfacing
Consider an 8088 microprocessor system where two 64 KB memory banks
are connected. The lower bank is assigned the address range 00000H to
0FFFFH and the upper bank is assigned 10000H to 1FFFFH. Explain how
the address decoding circuit would differentiate between the two banks.
Design a simple decoder circuit to demonstrate this.
15. Memory Expansion
A system with the 8088 microprocessor initially has a 32 KB RAM module
starting at 04000H. You need to add an additional 32 KB RAM starting at
06000H. What changes will be required in the address decoding circuitry,
and how will you ensure that the new memory does not interfere with the
existing memory?

You might also like