SlideShare a Scribd company logo
The memory address in 8086 space can be viewed as a sequence of one million bytes in
which any byte may contain an 8-bit data element and any two consecutive bytes may contain a
16-bit data element. There is no constraint on byte or word address boundaries. The address space
is physically connected to a 16-bit data bus by dividing the address space into two 8-bit banks of
up to 512K bytes each.
One bank is connected to the lower half of the 16-bit data bus (D0 – D7) and contains even
address bytes. i.e., when A0 bit is low, the bank is selected. The other bank is connected to the
upper half of the data bus (D8 - D15) and contains odd address bytes. i.e., when A0 is high and
BHE (Bus High Enable) is low, the odd bank is selected. A specific byte within each bank is
selected by address lines A1-A19.
Data can be accessed from the memory in four different ways. Theyare:
 8 - bit data from Lower (Even) address Bank.
 8 - bit data from Higher (Odd) address Bank.
 16 - bit data starting from Even Address.
 16 - bit data starting from Odd Address.
8-bit data from Even address Bank
Odd B ank Even Bank
x + 1
x + 3
x + 5
x
x + 2
x + 4
A1-A19
D 0-D 15
BH E = 1
D 8 -D 15 D 0-D 7
Fig. 8-bit Data Access from Even Address
A 0 = 0
To access memory bytes from Even address, information is transferred over the lower
half of the data bus (D0 - D7). The A0 is output LOW and BHE is output HIGH enabling only
the even address bank.
Higher
Address
Bank
(512K x 8) BHE
ODD
Lower
Address
Bank
(512K x 8) A0
EVEN
A1-A19
Address Bus
D8-D15 D0-D7
Data Bus (D0 - D15)
Example: Consider loading a byte of data into CH register (higher order 8-bits of CX register)
from the memory location with an even address. The data will be accessed from the even bank via
the (D0 - D7) DATA BUS. Although this data is transferred into the 8086 over the lower 8-bit
lines, the 8086 automatically redirects the data to the higher 8-bits of its internal 16- bit data path
and hence to the CH-register. This capability allows bytes input-output transfer via the AL
register to access I/O device connected to either the upper half of the data bus or the lower half
of the 16-bit data bus.
8-bit Data from Odd Address Bank
To access memory byte from an odd address information, is transferred over the higher
half of the data bus (D8 - D15). The BHE output low enables the upper memory bank. A0 is
output high to disable the lower memory bank. It is illustrated in fig. 7
O d d B a n k E v e n B a n k
16-bit Data Access starting from Even -Address
Odd Bank Even Bank
x + 1
x + 3
x
x + 2
A1-A19
D0-D15
D8-D15
BHE =0
D0-D7
A0 = 0
16-bit data from an even address is accessed in a single bus cycle. Address lines A1 -
A19 select the appropriate byte within each bank. A0 low and BHE low enables both banks
simultaneously.
16-bit Data Access starting from Odd Address
A 16-bits word located at an odd address (two consecutive bytes with the least
significant byte at an odd byte address) is accessed using two bus cycles. During the first bus
cycle the lower byte (with the odd address 0005 as shown in fig.) is accessed.
x + 1
x + 3
x
x + 2
B H E = 0 A 0 = 1
A 1 -A 1 9
D 0 - D7
D 8 - D 1 5
D 0 -D 1 5
0005
0007
0009
0004
0006
0008
A1-A19
A1-A9
D0-D7
D8-D15
0005
0007
0009
0004
0006
0008
A1-A19
A1-A9
D0-D7
D8-D15
Odd Bank Even Bank Odd Bank Even Bank
(a) First Access f rom Odd Address (b) Next Access f rom Ev en Address
During the second bus cycle, the upper byte (with the even address 0006H) is accessed.
During the first bus cycle, A1 - A19 address bus specifies the address and A0 as 1 and
BHE is low. Therefore the even memory bank is disabled and odd memory bank is
enabled. During the second bus cycle, the address is incremented. Therefore A0 is zero and
BHE is made high. The even memory bank is enabled and the odd memory bank is disabled.
Microprocessor 8086 notes
Microprocessor 8086 notes
Microprocessor 8086 notes
Microprocessor 8086 notes
Microprocessor 8086 notes
Microprocessor 8086 notes
Microprocessor 8086 notes
Microprocessor 8086 notes
Microprocessor 8086 notes
Microprocessor 8086 notes
Microprocessor 8086 notes

More Related Content

What's hot

8086
8086 8086
Bus system
Bus systemBus system
Bus system
Farah Shaikh
 
80386 microprocessor
80386 microprocessor80386 microprocessor
80386 microprocessor
Jerin Sebastian
 
Logic, shift and rotate instruction
Logic, shift and rotate instructionLogic, shift and rotate instruction
Logic, shift and rotate instruction
kashif Shafqat
 
Microprocessor 8086 instruction description
Microprocessor 8086 instruction descriptionMicroprocessor 8086 instruction description
Microprocessor 8086 instruction description
Dheeraj Suri
 
Chapter 5The proessor status and the FLAGS registers
Chapter 5The proessor status and the FLAGS registersChapter 5The proessor status and the FLAGS registers
Chapter 5The proessor status and the FLAGS registers
warda aziz
 
8085 instruction set
8085 instruction set8085 instruction set
Assignment on alp
Assignment on alpAssignment on alp
Assignment on alp
Jahurul Islam
 
Introduction to ibm pc assembly language
Introduction to ibm pc assembly languageIntroduction to ibm pc assembly language
Introduction to ibm pc assembly language
warda aziz
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
Dr. AISHWARYA N
 
Interrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.kInterrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.k
Vijay Kumar
 
Assembly 8086
Assembly 8086Assembly 8086
Assembly 8086
Mustafa Salah
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Bilal Amjad
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
Nahian Ahmed
 
Stack and its usage in assembly language
Stack and its usage in assembly language Stack and its usage in assembly language
Stack and its usage in assembly language
Usman Bin Saad
 
chapter 7 Logic, shift and rotate instructions
chapter 7 Logic, shift and rotate instructionschapter 7 Logic, shift and rotate instructions
chapter 7 Logic, shift and rotate instructions
warda aziz
 
Pentium processor
Pentium processorPentium processor
Pentium processor
Pranjali Deshmukh
 
Array operations
Array operationsArray operations
Array operations
ZAFAR444
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...
Bilal Amjad
 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086
j4jiet
 

What's hot (20)

8086
8086 8086
8086
 
Bus system
Bus systemBus system
Bus system
 
80386 microprocessor
80386 microprocessor80386 microprocessor
80386 microprocessor
 
Logic, shift and rotate instruction
Logic, shift and rotate instructionLogic, shift and rotate instruction
Logic, shift and rotate instruction
 
Microprocessor 8086 instruction description
Microprocessor 8086 instruction descriptionMicroprocessor 8086 instruction description
Microprocessor 8086 instruction description
 
Chapter 5The proessor status and the FLAGS registers
Chapter 5The proessor status and the FLAGS registersChapter 5The proessor status and the FLAGS registers
Chapter 5The proessor status and the FLAGS registers
 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
Assignment on alp
Assignment on alpAssignment on alp
Assignment on alp
 
Introduction to ibm pc assembly language
Introduction to ibm pc assembly languageIntroduction to ibm pc assembly language
Introduction to ibm pc assembly language
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
Interrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.kInterrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.k
 
Assembly 8086
Assembly 8086Assembly 8086
Assembly 8086
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
Stack and its usage in assembly language
Stack and its usage in assembly language Stack and its usage in assembly language
Stack and its usage in assembly language
 
chapter 7 Logic, shift and rotate instructions
chapter 7 Logic, shift and rotate instructionschapter 7 Logic, shift and rotate instructions
chapter 7 Logic, shift and rotate instructions
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 
Array operations
Array operationsArray operations
Array operations
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 10 ( Arrays and ...
 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086
 

Similar to Microprocessor 8086 notes

8086 memory interface.pptx
8086 memory interface.pptx8086 memory interface.pptx
8086 memory interface.pptx
HebaEng
 
Microprocessor.pdf
Microprocessor.pdfMicroprocessor.pdf
Microprocessor.pdf
pradipsaha77
 
1 ECE 371 - HOMEWORK 3 due 1159 pm Thurs 7.docx
 1          ECE 371 - HOMEWORK 3     due 1159 pm Thurs 7.docx 1          ECE 371 - HOMEWORK 3     due 1159 pm Thurs 7.docx
1 ECE 371 - HOMEWORK 3 due 1159 pm Thurs 7.docx
joyjonna282
 
Digital Comprator
Digital CompratorDigital Comprator
Digital Comprator
suraj829
 
Microprocessor architecture
Microprocessor architectureMicroprocessor architecture
Microprocessor architecture
parsh33
 
Introduction to Computer System. 8085/8086 architecture
Introduction to Computer System. 8085/8086 architectureIntroduction to Computer System. 8085/8086 architecture
Introduction to Computer System. 8085/8086 architecture
FazalHameed14
 
Microprocessors and Microcontrollers 8086 Pin Connections
Microprocessors and Microcontrollers 8086 Pin ConnectionsMicroprocessors and Microcontrollers 8086 Pin Connections
Microprocessors and Microcontrollers 8086 Pin Connections
Jason J Pulikkottil
 
Networking problem help Consider the following TCP session between h.pdf
Networking problem help Consider the following TCP session between h.pdfNetworking problem help Consider the following TCP session between h.pdf
Networking problem help Consider the following TCP session between h.pdf
FashionBoutiquedelhi
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Gopikrishna Madanan
 
Introduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.pptIntroduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.ppt
SasiBhushan22
 
363118864 8255-nptel
363118864 8255-nptel363118864 8255-nptel
363118864 8255-nptel
ZerihunDemere
 
Chapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptxChapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptx
melaku76
 
Microprocessor if deptt- 17th september 2021 (2)
Microprocessor if deptt- 17th september 2021 (2)Microprocessor if deptt- 17th september 2021 (2)
Microprocessor if deptt- 17th september 2021 (2)
AISSMS
 
Microprocessor
Microprocessor Microprocessor
Microprocessor
Vijay Kannamalla
 
Pin digram of 8086
Pin digram of 8086Pin digram of 8086
Pin digram of 8086
RJ
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 Microprocessor
Nikhil Kumar
 
Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086
SHREEHARI WADAWADAGI
 
Unit iii microcontrollers final1
Unit iii microcontrollers final1Unit iii microcontrollers final1
Unit iii microcontrollers final1
Saritha Reddy
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
techbed
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
Akhila Rahul
 

Similar to Microprocessor 8086 notes (20)

8086 memory interface.pptx
8086 memory interface.pptx8086 memory interface.pptx
8086 memory interface.pptx
 
Microprocessor.pdf
Microprocessor.pdfMicroprocessor.pdf
Microprocessor.pdf
 
1 ECE 371 - HOMEWORK 3 due 1159 pm Thurs 7.docx
 1          ECE 371 - HOMEWORK 3     due 1159 pm Thurs 7.docx 1          ECE 371 - HOMEWORK 3     due 1159 pm Thurs 7.docx
1 ECE 371 - HOMEWORK 3 due 1159 pm Thurs 7.docx
 
Digital Comprator
Digital CompratorDigital Comprator
Digital Comprator
 
Microprocessor architecture
Microprocessor architectureMicroprocessor architecture
Microprocessor architecture
 
Introduction to Computer System. 8085/8086 architecture
Introduction to Computer System. 8085/8086 architectureIntroduction to Computer System. 8085/8086 architecture
Introduction to Computer System. 8085/8086 architecture
 
Microprocessors and Microcontrollers 8086 Pin Connections
Microprocessors and Microcontrollers 8086 Pin ConnectionsMicroprocessors and Microcontrollers 8086 Pin Connections
Microprocessors and Microcontrollers 8086 Pin Connections
 
Networking problem help Consider the following TCP session between h.pdf
Networking problem help Consider the following TCP session between h.pdfNetworking problem help Consider the following TCP session between h.pdf
Networking problem help Consider the following TCP session between h.pdf
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Introduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.pptIntroduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.ppt
 
363118864 8255-nptel
363118864 8255-nptel363118864 8255-nptel
363118864 8255-nptel
 
Chapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptxChapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptx
 
Microprocessor if deptt- 17th september 2021 (2)
Microprocessor if deptt- 17th september 2021 (2)Microprocessor if deptt- 17th september 2021 (2)
Microprocessor if deptt- 17th september 2021 (2)
 
Microprocessor
Microprocessor Microprocessor
Microprocessor
 
Pin digram of 8086
Pin digram of 8086Pin digram of 8086
Pin digram of 8086
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 Microprocessor
 
Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086
 
Unit iii microcontrollers final1
Unit iii microcontrollers final1Unit iii microcontrollers final1
Unit iii microcontrollers final1
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
 

More from Ravi Anand

data-acquisition-system-ppt
data-acquisition-system-pptdata-acquisition-system-ppt
data-acquisition-system-ppt
Ravi Anand
 
Methods for Voltage Stability Enhancement
Methods for Voltage Stability EnhancementMethods for Voltage Stability Enhancement
Methods for Voltage Stability Enhancement
Ravi Anand
 
Automation And Robotics
Automation And Robotics Automation And Robotics
Automation And Robotics
Ravi Anand
 
Automation And Robotics
Automation And Robotics Automation And Robotics
Automation And Robotics
Ravi Anand
 
ANALOG TO DIGITAL COMMUNICATION {MODULATION}
ANALOG TO DIGITAL COMMUNICATION {MODULATION}ANALOG TO DIGITAL COMMUNICATION {MODULATION}
ANALOG TO DIGITAL COMMUNICATION {MODULATION}
Ravi Anand
 
Types of Circuit Breaker
Types of Circuit BreakerTypes of Circuit Breaker
Types of Circuit Breaker
Ravi Anand
 
Seminar Report on MHD (Magneto Hydro Dynamics)
Seminar Report on MHD (Magneto Hydro Dynamics)Seminar Report on MHD (Magneto Hydro Dynamics)
Seminar Report on MHD (Magneto Hydro Dynamics)
Ravi Anand
 
8086
80868086
Electrical Design of Transmission Line
Electrical Design of Transmission LineElectrical Design of Transmission Line
Electrical Design of Transmission Line
Ravi Anand
 
Electrical Design of Transmission Line
Electrical Design of Transmission LineElectrical Design of Transmission Line
Electrical Design of Transmission Line
Ravi Anand
 
Electrical Design of Transmission Line
Electrical Design of Transmission LineElectrical Design of Transmission Line
Electrical Design of Transmission Line
Ravi Anand
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
Ravi Anand
 
8085 instruction set (detailed)
8085 instruction set (detailed)8085 instruction set (detailed)
8085 instruction set (detailed)
Ravi Anand
 
Microprocessor 8086 instructions
Microprocessor 8086 instructionsMicroprocessor 8086 instructions
Microprocessor 8086 instructions
Ravi Anand
 
8086 instructions
8086 instructions8086 instructions
8086 instructions
Ravi Anand
 
8086 instructions
8086 instructions8086 instructions
8086 instructions
Ravi Anand
 
Emmi (imp. question)
Emmi (imp. question)Emmi (imp. question)
Emmi (imp. question)
Ravi Anand
 
Cro (emmi) (3)
Cro (emmi) (3)Cro (emmi) (3)
Cro (emmi) (3)
Ravi Anand
 
Cro (emmi) (2)
Cro (emmi) (2)Cro (emmi) (2)
Cro (emmi) (2)
Ravi Anand
 
Cro (emmi) (1)
Cro (emmi) (1)Cro (emmi) (1)
Cro (emmi) (1)
Ravi Anand
 

More from Ravi Anand (20)

data-acquisition-system-ppt
data-acquisition-system-pptdata-acquisition-system-ppt
data-acquisition-system-ppt
 
Methods for Voltage Stability Enhancement
Methods for Voltage Stability EnhancementMethods for Voltage Stability Enhancement
Methods for Voltage Stability Enhancement
 
Automation And Robotics
Automation And Robotics Automation And Robotics
Automation And Robotics
 
Automation And Robotics
Automation And Robotics Automation And Robotics
Automation And Robotics
 
ANALOG TO DIGITAL COMMUNICATION {MODULATION}
ANALOG TO DIGITAL COMMUNICATION {MODULATION}ANALOG TO DIGITAL COMMUNICATION {MODULATION}
ANALOG TO DIGITAL COMMUNICATION {MODULATION}
 
Types of Circuit Breaker
Types of Circuit BreakerTypes of Circuit Breaker
Types of Circuit Breaker
 
Seminar Report on MHD (Magneto Hydro Dynamics)
Seminar Report on MHD (Magneto Hydro Dynamics)Seminar Report on MHD (Magneto Hydro Dynamics)
Seminar Report on MHD (Magneto Hydro Dynamics)
 
8086
80868086
8086
 
Electrical Design of Transmission Line
Electrical Design of Transmission LineElectrical Design of Transmission Line
Electrical Design of Transmission Line
 
Electrical Design of Transmission Line
Electrical Design of Transmission LineElectrical Design of Transmission Line
Electrical Design of Transmission Line
 
Electrical Design of Transmission Line
Electrical Design of Transmission LineElectrical Design of Transmission Line
Electrical Design of Transmission Line
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
8085 instruction set (detailed)
8085 instruction set (detailed)8085 instruction set (detailed)
8085 instruction set (detailed)
 
Microprocessor 8086 instructions
Microprocessor 8086 instructionsMicroprocessor 8086 instructions
Microprocessor 8086 instructions
 
8086 instructions
8086 instructions8086 instructions
8086 instructions
 
8086 instructions
8086 instructions8086 instructions
8086 instructions
 
Emmi (imp. question)
Emmi (imp. question)Emmi (imp. question)
Emmi (imp. question)
 
Cro (emmi) (3)
Cro (emmi) (3)Cro (emmi) (3)
Cro (emmi) (3)
 
Cro (emmi) (2)
Cro (emmi) (2)Cro (emmi) (2)
Cro (emmi) (2)
 
Cro (emmi) (1)
Cro (emmi) (1)Cro (emmi) (1)
Cro (emmi) (1)
 

Recently uploaded

Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 

Recently uploaded (20)

Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 

Microprocessor 8086 notes

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. The memory address in 8086 space can be viewed as a sequence of one million bytes in which any byte may contain an 8-bit data element and any two consecutive bytes may contain a 16-bit data element. There is no constraint on byte or word address boundaries. The address space is physically connected to a 16-bit data bus by dividing the address space into two 8-bit banks of up to 512K bytes each. One bank is connected to the lower half of the 16-bit data bus (D0 – D7) and contains even address bytes. i.e., when A0 bit is low, the bank is selected. The other bank is connected to the upper half of the data bus (D8 - D15) and contains odd address bytes. i.e., when A0 is high and BHE (Bus High Enable) is low, the odd bank is selected. A specific byte within each bank is selected by address lines A1-A19.
  • 8. Data can be accessed from the memory in four different ways. Theyare:  8 - bit data from Lower (Even) address Bank.  8 - bit data from Higher (Odd) address Bank.  16 - bit data starting from Even Address.  16 - bit data starting from Odd Address. 8-bit data from Even address Bank Odd B ank Even Bank x + 1 x + 3 x + 5 x x + 2 x + 4 A1-A19 D 0-D 15 BH E = 1 D 8 -D 15 D 0-D 7 Fig. 8-bit Data Access from Even Address A 0 = 0 To access memory bytes from Even address, information is transferred over the lower half of the data bus (D0 - D7). The A0 is output LOW and BHE is output HIGH enabling only the even address bank. Higher Address Bank (512K x 8) BHE ODD Lower Address Bank (512K x 8) A0 EVEN A1-A19 Address Bus D8-D15 D0-D7 Data Bus (D0 - D15)
  • 9. Example: Consider loading a byte of data into CH register (higher order 8-bits of CX register) from the memory location with an even address. The data will be accessed from the even bank via the (D0 - D7) DATA BUS. Although this data is transferred into the 8086 over the lower 8-bit lines, the 8086 automatically redirects the data to the higher 8-bits of its internal 16- bit data path and hence to the CH-register. This capability allows bytes input-output transfer via the AL register to access I/O device connected to either the upper half of the data bus or the lower half of the 16-bit data bus. 8-bit Data from Odd Address Bank To access memory byte from an odd address information, is transferred over the higher half of the data bus (D8 - D15). The BHE output low enables the upper memory bank. A0 is output high to disable the lower memory bank. It is illustrated in fig. 7 O d d B a n k E v e n B a n k 16-bit Data Access starting from Even -Address Odd Bank Even Bank x + 1 x + 3 x x + 2 A1-A19 D0-D15 D8-D15 BHE =0 D0-D7 A0 = 0 16-bit data from an even address is accessed in a single bus cycle. Address lines A1 - A19 select the appropriate byte within each bank. A0 low and BHE low enables both banks simultaneously. 16-bit Data Access starting from Odd Address A 16-bits word located at an odd address (two consecutive bytes with the least significant byte at an odd byte address) is accessed using two bus cycles. During the first bus cycle the lower byte (with the odd address 0005 as shown in fig.) is accessed. x + 1 x + 3 x x + 2 B H E = 0 A 0 = 1 A 1 -A 1 9 D 0 - D7 D 8 - D 1 5 D 0 -D 1 5
  • 10. 0005 0007 0009 0004 0006 0008 A1-A19 A1-A9 D0-D7 D8-D15 0005 0007 0009 0004 0006 0008 A1-A19 A1-A9 D0-D7 D8-D15 Odd Bank Even Bank Odd Bank Even Bank (a) First Access f rom Odd Address (b) Next Access f rom Ev en Address During the second bus cycle, the upper byte (with the even address 0006H) is accessed. During the first bus cycle, A1 - A19 address bus specifies the address and A0 as 1 and BHE is low. Therefore the even memory bank is disabled and odd memory bank is enabled. During the second bus cycle, the address is incremented. Therefore A0 is zero and BHE is made high. The even memory bank is enabled and the odd memory bank is disabled.