SlideShare a Scribd company logo
1 of 5
Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering)
NIST Institute of Science & Technology(AUTONOMOUS)
INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008
8086 Internal architecture
The complete architecture of 8086 can be divided into two independent functional units.
Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering)
NIST Institute of Science & Technology(AUTONOMOUS)
INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008
a) BIU (Bus Interface Unit)
b) EU (Execution Unit)
Dividing the work between these two units’ speeds up processing.
Functions of BIU
The bus interface unit makes the system’s bus signals available for external interfacing of the
devices. It provides the interface of 8086 to external memory and I/O devices via the System
Bus. It performs various machine cycles such as memory read, I/O read etc. to transfer data
between memory and I/O devices.
BIU performs the following functions-
 It generates the 20 bit physical address for memory access.
 It fetches instructions from the memory.
 It transfers data to and from the memory and I/O.
 Maintains the 6 byte pre-fetch instruction queue
Components of BIU
BIU mainly contains :
 4 Segment registers :CS, DS, SS and ES
 Instruction Pointer (IP)
 6-byte pre-fetch queue (IQ)
 Address Generation Circuit.
4 Segment registers : CS, DS, SS and ES:
The segment registers indicates the base address of a particular segment.
Instruction Pointer (IP):
It is a 16 bit register. It holds offset of the next instructions in the Code Segment.
IP is incremented after every instruction byte is fetched.
IP gets a new value whenever a branch instruction occurs.
CS is multiplied by 10H to give the 20 bit physical address of the Code Segment.
Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering)
NIST Institute of Science & Technology(AUTONOMOUS)
INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008
Address of the next instruction is calculated as CS x 10H + IP.
6-byte pre-fetch Instruction queue (IQ):
 It is a 6-byte FIFO (First-In-First-Out) register structure.
 To increase the execution speed, BIU fetches as many as six instruction bytes ahead to
time from memory.
 The pre fetched instruction bytes are held for the EU in a first in first out group of
registers called an instruction queue.
 When the EU is ready for its next instruction, it simply reads the instruction from this
instruction queue.
 This is much faster than sending out an address to the system memory and to send
back the next instruction byte.
 Minimum two empty space required in IQ from i/p side to perform fetching
operation.
 The instructions byte from the queue are taken to EU for decoding sequentially.
 Once a byte is decoded, the queue is rearranged by pushing it out and the queue status is
checked for the possibility of the next op-code fetch cycle.
Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering)
NIST Institute of Science & Technology(AUTONOMOUS)
INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008
Address Generation Circuit:
 The BIU has a Physical Address Generation Circuit.
 It generates the 20 bit physical address using Segment and Offset addresses using the
formula:
Physical Address = Segment Address x 10H + Offset Address
Functions & Components of EU
 The EU contains the register set except segment registers and IP.
 It has 16-bit ALU, able to perform arithmetic and logical operations.
 The 16-bit flag register reflects the results of execution by the ALU.
 The decoding unit decodes the op-code bytes issued from the instruction queue.
 The timing and control unit derives the necessary control signals to execute the
instruction op-code received from the queue, depending upon the information made
available by the decoding circuit.
 The execution unit may pass the results to the bus interface unit for storing them in
memory.
Working principle of the architecture
BIU and EU working independently. While EU executing the fetched instruction internally ,
by that time external bus of BIU used to fetch the machine code of the next instruction and
arrange it in a queue known as pre-decoded instruction byte Queue.
While the op-code is fetched by the BIU, the EU executes the previously decoded instruction
concurrently. The BIU along with the EU thus forms a pipeline. It is called pipelining
execution or parallel processing .
Pipelining has become possible due to the use of queue. It increases the speed of execution
process.
8086 processor architecture support two stage pipelining because of two functional unit..
Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering)
NIST Institute of Science & Technology(AUTONOMOUS)
INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008
Pipelining execution
Three operations of microprocessor during
the instructions execution are:
Assume three clock cycles are required to
execute one instructions.
The instructions can be executed in
sequential manner or pipelined manner.
In case of sequential execution, first instruction is executed in three clock cycles assuming
that each of phase is done in one clock cycle. The second instruction is begins only after first is
completed i.e. in fourth clock cycle. To execute four instructions 12 clock cycles needed as
shown in figure.
In case of a pipelined execution during decoding of first instruction, the fetching of second
instruction becomes started. Before the end of execution of first instruction third instruction
fetching and second instruction decoding operation becomes started as shown in the figure. To
execute four instructions only 6 clock cycles are needed.
It is called three stage pipelining.

More Related Content

Similar to Module1-8086 microprocessor Architecture

Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...IRJET Journal
 
The 8086 Micro Processor Architecture By Dr. RidhaJemal
The 8086 Micro Processor Architecture By Dr. RidhaJemalThe 8086 Micro Processor Architecture By Dr. RidhaJemal
The 8086 Micro Processor Architecture By Dr. RidhaJemalAnas Sa
 
Lecture1 The 8085 Microprocessor
Lecture1 The 8085 MicroprocessorLecture1 The 8085 Microprocessor
Lecture1 The 8085 MicroprocessorZeeshan Ahmed
 
Microprocessor-Architecture [8085]
Microprocessor-Architecture [8085]Microprocessor-Architecture [8085]
Microprocessor-Architecture [8085]GIARINDIA
 
Computer Engineering II Year.pdf
Computer Engineering II Year.pdfComputer Engineering II Year.pdf
Computer Engineering II Year.pdfChandraSekhar167698
 
Ec6504 microprocessor and microcontroller
Ec6504 microprocessor and microcontrollerEc6504 microprocessor and microcontroller
Ec6504 microprocessor and microcontrollerSenthil Kumar
 
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and MicrocontrollerMPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and MicrocontrollerRAHUL RANJAN
 
Verilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorVerilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorIJERA Editor
 
microprocessor_8085_architecture.ppt
microprocessor_8085_architecture.pptmicroprocessor_8085_architecture.ppt
microprocessor_8085_architecture.pptPraches1
 
Computer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsComputer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsEkeedaPvtLtd
 
Micro Processor And Micro controller
Micro Processor And Micro controller Micro Processor And Micro controller
Micro Processor And Micro controller Raja pirian
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science educationInnocent Tauzeni
 

Similar to Module1-8086 microprocessor Architecture (20)

Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
 
8086 Microprocessor
8086  Microprocessor8086  Microprocessor
8086 Microprocessor
 
COA_UNIT_I.pptx
COA_UNIT_I.pptxCOA_UNIT_I.pptx
COA_UNIT_I.pptx
 
The 8086 Micro Processor Architecture By Dr. RidhaJemal
The 8086 Micro Processor Architecture By Dr. RidhaJemalThe 8086 Micro Processor Architecture By Dr. RidhaJemal
The 8086 Micro Processor Architecture By Dr. RidhaJemal
 
Lecture1 The 8085 Microprocessor
Lecture1 The 8085 MicroprocessorLecture1 The 8085 Microprocessor
Lecture1 The 8085 Microprocessor
 
Microprocessor-Architecture [8085]
Microprocessor-Architecture [8085]Microprocessor-Architecture [8085]
Microprocessor-Architecture [8085]
 
8086
80868086
8086
 
Computer Engineering II Year.pdf
Computer Engineering II Year.pdfComputer Engineering II Year.pdf
Computer Engineering II Year.pdf
 
bds project final documentation
bds project final documentation bds project final documentation
bds project final documentation
 
Ec6504 microprocessor and microcontroller
Ec6504 microprocessor and microcontrollerEc6504 microprocessor and microcontroller
Ec6504 microprocessor and microcontroller
 
8086 architecture
8086 architecture8086 architecture
8086 architecture
 
Real time-embedded-system-lec-05
Real time-embedded-system-lec-05Real time-embedded-system-lec-05
Real time-embedded-system-lec-05
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and MicrocontrollerMPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
 
Verilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorVerilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC Processor
 
microprocessor_8085_architecture.ppt
microprocessor_8085_architecture.pptmicroprocessor_8085_architecture.ppt
microprocessor_8085_architecture.ppt
 
Computer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsComputer engineering - overview of microprocessors
Computer engineering - overview of microprocessors
 
Micro Processor And Micro controller
Micro Processor And Micro controller Micro Processor And Micro controller
Micro Processor And Micro controller
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 

Recently uploaded

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 

Recently uploaded (20)

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 

Module1-8086 microprocessor Architecture

  • 1. Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering) NIST Institute of Science & Technology(AUTONOMOUS) INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008 8086 Internal architecture The complete architecture of 8086 can be divided into two independent functional units.
  • 2. Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering) NIST Institute of Science & Technology(AUTONOMOUS) INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008 a) BIU (Bus Interface Unit) b) EU (Execution Unit) Dividing the work between these two units’ speeds up processing. Functions of BIU The bus interface unit makes the system’s bus signals available for external interfacing of the devices. It provides the interface of 8086 to external memory and I/O devices via the System Bus. It performs various machine cycles such as memory read, I/O read etc. to transfer data between memory and I/O devices. BIU performs the following functions-  It generates the 20 bit physical address for memory access.  It fetches instructions from the memory.  It transfers data to and from the memory and I/O.  Maintains the 6 byte pre-fetch instruction queue Components of BIU BIU mainly contains :  4 Segment registers :CS, DS, SS and ES  Instruction Pointer (IP)  6-byte pre-fetch queue (IQ)  Address Generation Circuit. 4 Segment registers : CS, DS, SS and ES: The segment registers indicates the base address of a particular segment. Instruction Pointer (IP): It is a 16 bit register. It holds offset of the next instructions in the Code Segment. IP is incremented after every instruction byte is fetched. IP gets a new value whenever a branch instruction occurs. CS is multiplied by 10H to give the 20 bit physical address of the Code Segment.
  • 3. Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering) NIST Institute of Science & Technology(AUTONOMOUS) INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008 Address of the next instruction is calculated as CS x 10H + IP. 6-byte pre-fetch Instruction queue (IQ):  It is a 6-byte FIFO (First-In-First-Out) register structure.  To increase the execution speed, BIU fetches as many as six instruction bytes ahead to time from memory.  The pre fetched instruction bytes are held for the EU in a first in first out group of registers called an instruction queue.  When the EU is ready for its next instruction, it simply reads the instruction from this instruction queue.  This is much faster than sending out an address to the system memory and to send back the next instruction byte.  Minimum two empty space required in IQ from i/p side to perform fetching operation.  The instructions byte from the queue are taken to EU for decoding sequentially.  Once a byte is decoded, the queue is rearranged by pushing it out and the queue status is checked for the possibility of the next op-code fetch cycle.
  • 4. Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering) NIST Institute of Science & Technology(AUTONOMOUS) INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008 Address Generation Circuit:  The BIU has a Physical Address Generation Circuit.  It generates the 20 bit physical address using Segment and Offset addresses using the formula: Physical Address = Segment Address x 10H + Offset Address Functions & Components of EU  The EU contains the register set except segment registers and IP.  It has 16-bit ALU, able to perform arithmetic and logical operations.  The 16-bit flag register reflects the results of execution by the ALU.  The decoding unit decodes the op-code bytes issued from the instruction queue.  The timing and control unit derives the necessary control signals to execute the instruction op-code received from the queue, depending upon the information made available by the decoding circuit.  The execution unit may pass the results to the bus interface unit for storing them in memory. Working principle of the architecture BIU and EU working independently. While EU executing the fetched instruction internally , by that time external bus of BIU used to fetch the machine code of the next instruction and arrange it in a queue known as pre-decoded instruction byte Queue. While the op-code is fetched by the BIU, the EU executes the previously decoded instruction concurrently. The BIU along with the EU thus forms a pipeline. It is called pipelining execution or parallel processing . Pipelining has become possible due to the use of queue. It increases the speed of execution process. 8086 processor architecture support two stage pipelining because of two functional unit..
  • 5. Prepared by : Malabika Pattnaik, Faculty (Department of Electronics and Communication Engineering) NIST Institute of Science & Technology(AUTONOMOUS) INSTITUTE PARK, PALLUR HILLS, BERHAMPUR, ODISHA -761 008 Pipelining execution Three operations of microprocessor during the instructions execution are: Assume three clock cycles are required to execute one instructions. The instructions can be executed in sequential manner or pipelined manner. In case of sequential execution, first instruction is executed in three clock cycles assuming that each of phase is done in one clock cycle. The second instruction is begins only after first is completed i.e. in fourth clock cycle. To execute four instructions 12 clock cycles needed as shown in figure. In case of a pipelined execution during decoding of first instruction, the fetching of second instruction becomes started. Before the end of execution of first instruction third instruction fetching and second instruction decoding operation becomes started as shown in the figure. To execute four instructions only 6 clock cycles are needed. It is called three stage pipelining.