How Does Memory Banking Work in 8086 Microprocessor?

TL;DR
Memory banking in the 8086 microprocessor involves dividing the 1 MB memory into two separate chips, each handling even and odd addresses respectively. This allows the processor to access 16-bit data in one cycle by reading from both chips simultaneously, thus optimizing memory operations without wasting resources.
Transcript
[Applause] hello people I'm bat aara welcome to my channel so today's lecture we're going to learn this superb topic called memory banking this is a wow topic to learn okay also tremendously requested by students because if you don't know memory banking you cannot do 886 designing it's as simple as that the whole memory designing iio designing all ... Read More
Key Insights
- Memory banking is essential for 8086 design, dividing 1 MB memory into two banks for even and odd addresses.
- 8086 is a 16-bit processor, requiring access to two locations for full data retrieval.
- Aligned data starts from an even address and can be accessed in one cycle, unlike misaligned data.
- Modern processors use multiple banks to handle larger data sizes efficiently.
- The concept of memory banking extends beyond 8086 to all modern processors.
- Even bank is also known as the lower bank, and odd bank as the higher bank.
- Chip selection is controlled by a0 and bhe bar signals, determining which bank to access.
- Memory banking prevents wastage by allowing flexible access to memory locations.
Install to Summarize YouTube Videos and Get Transcripts
Explore YouTube Video Summarizer or Get YouTube Transcript Extractor
Questions & Answers
Q: How does memory banking work in the 8086 microprocessor?
Memory banking in the 8086 microprocessor involves splitting the 1 MB memory into two separate banks, each responsible for even and odd addresses. This allows the processor to access 16-bit data in one cycle by reading from both banks simultaneously, optimizing memory access and preventing resource wastage.
Q: What is the difference between aligned and misaligned data?
Aligned data starts from an even address and can be accessed in one cycle, allowing efficient retrieval of 16-bit data. Misaligned data, on the other hand, starts from an odd address and requires two cycles for access, as the processor cannot read two consecutive odd and even addresses simultaneously.
Q: Why is memory banking necessary in modern processors?
Memory banking is necessary in modern processors to handle larger data sizes efficiently. By dividing memory into multiple banks, processors can access large data sizes, such as 32-bit or 64-bit, in one cycle without wasting memory resources, thus enhancing performance and speed.
Q: How are even and odd banks selected in memory banking?
In memory banking, even and odd banks are selected using the a0 and bhe bar signals. The even bank, or lower bank, is selected when a0 is zero, while the odd bank, or higher bank, is selected when bhe bar is zero. This allows flexible access to either bank or both simultaneously for 16-bit operations.
Q: What role does the programmer play in memory banking?
The programmer plays a crucial role in memory banking by writing instructions that determine which bank is accessed. Depending on whether the operation is 8-bit or 16-bit and the starting address, the microprocessor generates the appropriate a0 and bhe bar signals to select the desired bank(s).
Q: Can misaligned data be accessed in one cycle?
No, misaligned data cannot be accessed in one cycle. It starts from an odd address, and the processor cannot generate two different addresses simultaneously for odd and even locations. Thus, misaligned data requires two cycles for access, unlike aligned data, which can be accessed in one cycle.
Q: What happens if both a0 and bhe bar signals are zero?
If both a0 and bhe bar signals are zero, both the even and odd banks are selected simultaneously. This allows the processor to perform a 16-bit operation by accessing two consecutive memory locations, one from each bank, in one cycle, thus optimizing data retrieval and processing.
Q: Why can't larger memory locations be used instead of memory banking?
Using larger memory locations instead of memory banking would lead to significant memory wastage. When storing smaller data sizes, the unused portion of the larger location would remain unutilized. Memory banking allows for flexible access to smaller locations, optimizing memory usage and preventing wastage.
Summary & Key Takeaways
-
Memory banking in the 8086 microprocessor involves dividing the 1 MB memory into two separate chips, each handling even and odd addresses respectively. This division allows the processor to access 16-bit data in one cycle by reading from both chips simultaneously, thereby optimizing memory operations without wasting resources.
-
The concept of aligned and misaligned data is crucial in memory banking. Aligned data starts from an even address and can be accessed in one cycle, while misaligned data, starting from an odd address, requires two cycles. This distinction ensures efficient data retrieval and processing.
-
Modern processors continue to use memory banking to manage larger data sizes, such as 32-bit or 64-bit, by employing multiple banks. The even bank is also known as the lower bank, and the odd bank as the higher bank, with chip selection controlled by a0 and bhe bar signals.
Read in Other Languages (beta)
Share This Summary 📚
Summarize YouTube Videos and Get Video Transcripts with 1-Click
Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator
Explore More Summaries from Bharat Acharya Education - Unacademy 📚






Summarize YouTube Videos and Get Video Transcripts with 1-Click
Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator