Professional Documents
Culture Documents
Manav Gupta
SID:17103037
Computer Science and Engineering
Punjab Engineering College, Chandigarh
8086 was the first 16 bit microprocessor developed by Intel in 1976. It was the micro-
processor which was used in IBM PC. My presentation is focusses on concept memory
banking which was introduced in 8086.
Contents
Bibliography 7
1
Chapter 1
[Thakur, 2015, p. 2] 8086 was the first 16 bit microprocessor developed by Intel. It was
designed in between 1976 and 1978. It has a 16 bit data bus and a 20 bit address bus which
means it can transfer 16 bits of data at a time. Because of its 20 bit address bus it can
point to 2 raised to power 20 memory locations. 2 raised to power 20 memory locations
constitute to the 1 MB memory of 8086. Each memory location is of 8 bits.
2
power of microprocessor could get wasted if 8086 just transfers 8 bits of data in every cycle
instead of 16 bits.
3
and even bank. On one side are all the odd numbered pages of the book and on other side
are the even numbered pages.
4
Figure 1.2: Bit Representation of first 8 memory locations
A0 bit only selects the chip from which the memory location is to be accessed. It has
no role in selecting the memory location once the microprocessor knows which bank to
select, either odd bank or the even bank. The bits A1-A19 actually make the selection
of the memory location inside the desired chip. So it is not at all possible to access the
misaligned memory locations as the chip lines which go to both the chips (A1 - A19) are
the same and misaligned data requires different set of chip lines to get accessed.
1.6 BHE
BHE stands for Bus High Enable. It is available at the 34th location in the pin description
of 8086. Its is used to indicate the transfer of data using data bus D8 - D15 . This signal is
low during the first clock cycle, thereafter it is active. It is used to access the odd bank of
memory which is also known as higher bank of memory.
5
1.7 Working of BHE and A0
The chip signals BHE and A0 are used to decribe the state of the microprocessor whether
microprocessor wants to access odd bank, even bank or both these banks of memory.
Whenever both of the BHE and A0 are 0, processor can read/write 16 bits of data from
both chips.
Whenever BHe is 0 and A0 is 1, processor can read/write 8 bits of data from odd bank
(higher bank).
Whenever BHe is 1 and A0 is 0, processor can read/write 8 bits of data from even bank
(lower bank).
Whenever both of the BHE and A0 are 1, processor is said to be idle state that is it
is not performing any memory operation rather it could be busy doing some arithmetic or
logical operations but from view of memory, it is idle.
6
Bibliography
Sonali Lotanker. Computer organisation and memory banking. Computer Science. URL
https://www.geeksforgeeks.org/computer-organization-memory-banking/.
Stephen P. Morse. The intel 8086 chip and the future of microprocessor. Micropro-
cessors, 2017. URL https://www.computer.org/csdl/magazine/co/2017/04/
mco2017040008/13rRUwfqpJW.
Devinder Singh. How are even and odd addressed bytes accessed in 8086 mem-
ory address space? Computer Science. URL https://www.quora.com/
How-are-even-and-odd-addressed-bytes-accessed-in-8086-memory-address-space.