SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Internal Architecture of 8086
• It is internally divided into two separate functional units.
• These are the Bus Interface Unit (BIU) and the Execution Unit (EU).
• These two functional units can work simultaneously to increase system speed
and hence the throughput.
• Throughput is a measure of number of instructions executed per unit time
• It is a 16-bit μp.
• 8086 has a 20 bit address bus can access up to 220 memory locations (1 MB).
• It can support up to 64K I/O ports.
• It provides 14, 16 -bit registers.
• Word size is 16 bits and double word size is 4 bytes.
• It has multiplexed address and data bus AD0- AD15 and A16 – A19.
Internal Architecture of 8086| msbte sem 4 microprocessor
Bus Interface Unit:
• The bus interface unit is the Internal Architecture of 8086 to the outside
world. It provides a full 16-bit bi-directional data bus and 20-bit address bus.
The bus interface unit is responsible for performing all external bus
operations.
• Functions of Bus Interface Unit
1.It sends address of the memory or I/O.
2.It fetches instruction from memory.
3.It reads data from port/memory.
4.It Writes data into port/memory.
5.It supports instruction queuing.
6.It provides the address relocation facility.
Instruction Queue
• To speed up program execution, the BIU fetches six instruction bytes ahead
of time from the memory.
• These prefetched instruction bytes are held for the execution unit in a group
of registers called Queue.
• With the help of queue it is possible to fetch next instruction when current
instruction is in execution.
• For example, current instruction in execution is a multiplication instruction.
• In Internal Architecture of 8086, operands for multiplication operations are
within registers.
• Still it requires 100 clock cycles to execute multiply instruction.
Segment Registers
• The physical address of the Internal Architecture of 8086 is 20-bits wide to
access 1 Mbyte memory locations.
• However, its registers and memory locations which contain logical addresses
are just 16-bits wide.
• Hence 8086 uses memory segmentation.
• It treats the 1 Mbyte of memory as divided into segments, with a maximum
size of a segment as 64 Kbytes.
• Thus any location within the segment can be accessed using 16 bits.
• The Internal Architecture of 8086 allows only four active segments at a
time,For the selection of the four active segments the 16-bit segment registers
are provided within the BIU of the 8086.
Functions of Segment Registers
1.Code segment (CS) register= The CS register holds the upper 16-bits of
the starting address of the segment from which the BIU is currently fetching
the instruction code byte.
2.stack segment (SS) register=The SS register is used for the upper 16-bits
of the starting address for the program stack (all stack related instructions
will operate on stack)
3.extra segment (ES) register= ES register and DS register are used to hold
the upper 16-bits of the starting address of the two memory segments Which
are used for data.
Execution Unit [EU]:
• The execution unit of Internal Architecture of 8086 tells the BIU from where
to fetch instructions or data, decodes instructions and executes instructions.
It contains
• Control Circuitry
• Instruction Decoder
• Arithmetic Logic Unit (ALU)
• Flag Register
• General Purpose Registers
• Pointers and Index Registers
Execution Unit [EU]:
• The control circuitry in the EU directs the internal operations.
• A decoder in the EU translates the instructions fetched from memory into a series of
actions wlifeh the EU performs.
• ALU is 16-bit. It can add, subtract, AND, OR, XOR, increment, decrements, complement
and shift binary numbers.
• AX register: (Combination of AL and AH Registers)
It holds operands and results during multiplication and division operations. Also an
accumulator during String operations.
• BX register: (Combination of BL and BH Registers)
It holds the memory address (offset address) in indirect addressing modes.
• CX register: (Combination of CL and CH Registers)
It holds the count for instructions like a loop, rotates, shifts and string operations.
• DX register: (Combination of DL and DH Registers)
It is used with AX to hold 32-bit values during multiplication and division.
Internal Architecture of 8086| msbte sem 4 microprocessor
Internal Architecture of 8086| msbte sem 4 microprocessor
Internal Architecture of 8086| msbte sem 4 microprocessor
Internal Architecture of 8086| msbte sem 4 microprocessor
Memory Segmentation
• Segmentation is the process in which the main memory of the computer is logically
divided into different segments and each segment has its own base address.
• It is basically used to enhance the speed of execution of the computer system, so that
the processor is able to fetch and execute the data from the memory easily and fast.
• The number of address lines in 8086 is 20, 8086 BIU will send 20bit address, so as to
access one of the 1MB memory locations.
• The four segment registers actually contain the upper 16 bits of the starting addresses
of the four memory segments of 64 KB each with which the 8086 is working at that
instant of time.
• A segment is a logical unit of memory that may be up to 64 kilobytes long.
• Each segment is made up of contiguous memory locations.
• It is an independent, separately addressable unit. Starting address will always be
changing. It will not be fixed.
Need for Segmentation
• Code segment register (CS): is used for addressing memory location in the
code segment of the memory, where the executable program is stored.
• Data segment register (DS): points to the data segment of the memory
where the data is stored.
• Extra Segment Register (ES): also refers to a segment in the memory
which is another data segment in the memory.
• Stack Segment Register (SS): is used for addressing stack segment of the
memory. The stack segment is that segment of memory which is used to store
stack data.
Internal Architecture of 8086| msbte sem 4 microprocessor
Advantages of the Segmentation
• It provides a powerful memory management mechanism.
• Data related or stack related operations can be performed in different segments.
• Code related operation can be done in separate code segments.
• It allows to processes to easily share data.
• It allows to extend the address ability of the processor, i.e. segmentation allows
the use of 16 bit registers to give an addressing capability of 1 Megabytes.
Without segmentation, it would require 20 bit registers.
• It is possible to enhance the memory size of code data or stack segments
beyond 64 KB by allotting more than one segment for each area.
Physical Memory Address Generation
• One Mbyte (1024 Kbyte) of physical memory can be interface with the
8086 microprocessor because 8086 has 20 address lines i.e. 220 1024
Kbyte or 1 Mbyte
• The segment registers are used to hold 16-bit of the starting address of
four memory segments.
• But 8086 has 20-bit address bus, so it can address any of 20= 1 Mbytes
in memory
• The address associated with any instruction or data byte is only 16-bit
called as effective address or offset or displacement or logical address.
• The logical addresses are used to calculate physical address.
stack pointer (SP)
• The stack pointer (SP) register contains the 16-bit offset from the start of
the segment to the top of stack.
• For stack operation, physical address is produced by adding the
contents of stack pointer register to the segment base address in SS.
• To do this the contents of the stack segment register are shifted four bits
left and the contents of SP are added to the shifted result.
• If the contents of SP are 9F20H and SS are 4000H then the physical
address is calculated as follows.
• SS = 4000H after shifting four bits left SS = 40000H
Instruction Pointer IP
• IP contains the offset address.
• The result 20-bit address is the physical address since it is put on
external physical address bus pins to be decoded by the memory
decoding circuitry.
• The offset address is contained in IP = 95F3 H.
• the CS contained 2500 H.
• The logical address is CS:IP or 2500:95F3.
• The physical address will be 25000+ 95F3= 2E5F3 H
Internal Architecture of 8086| msbte sem 4 microprocessor
CONCEPTS OF THE PIPELINING
• The technique used to enable an instruction to complete with each clock cycle is
called as pipelining.
• Normally, on a non-pipelined processor, nine clock cycles are required for fetch,
decode and execute cycles for the three instructions
• But, on a pipelined processor, the fetch, decode and execute operation are
performed in parallel, only five clock cycles are required to execute the same
three instructions
• First instruction requires three cycles to complete the execution.
• Next instructions then complete at a rate of one instruction per cycle.
• During the clock cycle 5 we have I, completing, I, being decoded and Is being
fetched
• Stack is a reserved area of the memory in the RAM, where temporary information
may be stored.
• Stack operates on the principle of Last In First Out (LIFO).
• The queue operates on the principle of first in first out (FIFO).
• So that the execution unit gets the instruction for execution in the order they
fetched.
• Feature of fetching the next instruction while the current instruction is
executing is called pipelining which will reduce the execution time.
• So. pipelining improve the execution speed of the processor.
• In 8086, pipelining is implemented by providing 6 byte queue where as long
as 6 one byte instructions can be stored well in a advance and then one by
one instruction goes for decoding and execution.
• So, while executing first instruction in a queue, processor decodes second
instruction and fetches 8th instruction from the memory.
• In this way, 8086 perform fetch, decode and execute operation in parallel i.e.
in single clock cycle
CONCEPTS OF THE PIPELINING
Advantages of Pipelining
• Pipelining enables many instructions to be executed at the
same time.It allows execution to be done in fewer cycles.
• Speed up the execution speed of the processor.
• More efficient use of processor.
Internal Architecture of 8086| msbte sem 4 microprocessor

More Related Content

What's hot (20)

PPTX
8086 Microprocessor Pipeline Architecture.pptx
Green University of Bangladesh
 
PPTX
INTERRUPTS OF 8086 MICROPROCESSOR
Gurudev joshi
 
PDF
Unit 2 mpmc
tamilnesaner
 
PPTX
Addressing modes of 8086
Dr. AISHWARYA N
 
PPT
pin-diagram-details-of-8086-microprocessor
barsharoy19
 
PPTX
Internal architecture-of-8086
Estiak Khan
 
PPTX
8251 USART
ShivamSood22
 
PPTX
Interrupts of 8086
Albin Panakkal
 
PPT
8254 timer - Microprocessor and interfacing
Amitabh Shukla
 
PPTX
Architecture of 8051
hello_priti
 
PDF
Minimum and Maximum Modes of microprocessor 8086
anil_gaur
 
PPTX
PIC-18 Microcontroller
ASHISH RANJAN
 
PPTX
80386 Architecture
Rohit Choudhury
 
PPTX
System bus timing 8086
mpsrekha83
 
PPTX
8255 PPI
deval patel
 
PPT
Architecture of 8086 Microprocessor
Mustapha Fatty
 
PDF
8259 Programmable Interrupt Controller
abhikalmegh
 
PDF
Unit II Study of Onchip Peripherals
Dr. Pankaj Zope
 
PPTX
Interrupts on 8086 microprocessor by vijay kumar.k
Vijay Kumar
 
PPTX
UNIT 2 8086 System Bus Structure.pptx
Gowrishankar C
 
8086 Microprocessor Pipeline Architecture.pptx
Green University of Bangladesh
 
INTERRUPTS OF 8086 MICROPROCESSOR
Gurudev joshi
 
Unit 2 mpmc
tamilnesaner
 
Addressing modes of 8086
Dr. AISHWARYA N
 
pin-diagram-details-of-8086-microprocessor
barsharoy19
 
Internal architecture-of-8086
Estiak Khan
 
8251 USART
ShivamSood22
 
Interrupts of 8086
Albin Panakkal
 
8254 timer - Microprocessor and interfacing
Amitabh Shukla
 
Architecture of 8051
hello_priti
 
Minimum and Maximum Modes of microprocessor 8086
anil_gaur
 
PIC-18 Microcontroller
ASHISH RANJAN
 
80386 Architecture
Rohit Choudhury
 
System bus timing 8086
mpsrekha83
 
8255 PPI
deval patel
 
Architecture of 8086 Microprocessor
Mustapha Fatty
 
8259 Programmable Interrupt Controller
abhikalmegh
 
Unit II Study of Onchip Peripherals
Dr. Pankaj Zope
 
Interrupts on 8086 microprocessor by vijay kumar.k
Vijay Kumar
 
UNIT 2 8086 System Bus Structure.pptx
Gowrishankar C
 

Similar to Internal Architecture of 8086| msbte sem 4 microprocessor (20)

PPTX
8086 architecture
Self-Employed
 
PPT
8086microprocessor 130821100244-phpapp02
Murad Mondol
 
PPT
8086microprocessor 130821100244-phpapp02
raone1989
 
PPT
8086microprocessor 130821100244-phpapp02
raone1989
 
PPT
8086 micro processor
Poojith Chowdhary
 
PPT
8086microprocessor 130821100244-phpapp02
raone1989
 
PDF
8086 Architecture ppt.pdf
UmamaheswariV4
 
DOCX
8086 archi notes final
HarshitParkar6677
 
DOCX
8086 archi notes final
HarshitParkar6677
 
PPTX
المعالج 8086..pptxgvffvhjkhgfdddghbvfddsss
ssuser4ad3ca
 
PPTX
The 8086 microprocessor
Adarsh College, Hingoli
 
PPTX
8086 microprocessor-architecture-120207111857-phpapp01
Siva Raman
 
PPTX
INTEL 8086 MICROPROCESSOR
Sagar Kuntumal
 
PPTX
Presentation on 8086 microprocessor
Diponkor Bala
 
PPTX
Mpi chapter 2
birhanugirmay
 
PPT
The Intel 8086 microprocessor
George Thomas
 
PPTX
8086 microprocessor-architecture-120207111857-phpapp01
jemimajerome
 
PPTX
8086 microprocessor-architecture-120207111857-phpapp01
destaw belay
 
PDF
8086 architecture and pin description
Aswini Dharmaraj
 
8086 architecture
Self-Employed
 
8086microprocessor 130821100244-phpapp02
Murad Mondol
 
8086microprocessor 130821100244-phpapp02
raone1989
 
8086microprocessor 130821100244-phpapp02
raone1989
 
8086 micro processor
Poojith Chowdhary
 
8086microprocessor 130821100244-phpapp02
raone1989
 
8086 Architecture ppt.pdf
UmamaheswariV4
 
8086 archi notes final
HarshitParkar6677
 
8086 archi notes final
HarshitParkar6677
 
المعالج 8086..pptxgvffvhjkhgfdddghbvfddsss
ssuser4ad3ca
 
The 8086 microprocessor
Adarsh College, Hingoli
 
8086 microprocessor-architecture-120207111857-phpapp01
Siva Raman
 
INTEL 8086 MICROPROCESSOR
Sagar Kuntumal
 
Presentation on 8086 microprocessor
Diponkor Bala
 
Mpi chapter 2
birhanugirmay
 
The Intel 8086 microprocessor
George Thomas
 
8086 microprocessor-architecture-120207111857-phpapp01
jemimajerome
 
8086 microprocessor-architecture-120207111857-phpapp01
destaw belay
 
8086 architecture and pin description
Aswini Dharmaraj
 
Ad

Recently uploaded (20)

PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PPTX
Hashing Introduction , hash functions and techniques
sailajam21
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PPTX
Element 7. CHEMICAL AND BIOLOGICAL AGENT.pptx
merrandomohandas
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PPTX
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PPTX
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Hashing Introduction , hash functions and techniques
sailajam21
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
Element 7. CHEMICAL AND BIOLOGICAL AGENT.pptx
merrandomohandas
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
Ad

Internal Architecture of 8086| msbte sem 4 microprocessor

  • 1. Internal Architecture of 8086 • It is internally divided into two separate functional units. • These are the Bus Interface Unit (BIU) and the Execution Unit (EU). • These two functional units can work simultaneously to increase system speed and hence the throughput. • Throughput is a measure of number of instructions executed per unit time • It is a 16-bit μp. • 8086 has a 20 bit address bus can access up to 220 memory locations (1 MB). • It can support up to 64K I/O ports. • It provides 14, 16 -bit registers. • Word size is 16 bits and double word size is 4 bytes. • It has multiplexed address and data bus AD0- AD15 and A16 – A19.
  • 3. Bus Interface Unit: • The bus interface unit is the Internal Architecture of 8086 to the outside world. It provides a full 16-bit bi-directional data bus and 20-bit address bus. The bus interface unit is responsible for performing all external bus operations. • Functions of Bus Interface Unit 1.It sends address of the memory or I/O. 2.It fetches instruction from memory. 3.It reads data from port/memory. 4.It Writes data into port/memory. 5.It supports instruction queuing. 6.It provides the address relocation facility.
  • 4. Instruction Queue • To speed up program execution, the BIU fetches six instruction bytes ahead of time from the memory. • These prefetched instruction bytes are held for the execution unit in a group of registers called Queue. • With the help of queue it is possible to fetch next instruction when current instruction is in execution. • For example, current instruction in execution is a multiplication instruction. • In Internal Architecture of 8086, operands for multiplication operations are within registers. • Still it requires 100 clock cycles to execute multiply instruction.
  • 5. Segment Registers • The physical address of the Internal Architecture of 8086 is 20-bits wide to access 1 Mbyte memory locations. • However, its registers and memory locations which contain logical addresses are just 16-bits wide. • Hence 8086 uses memory segmentation. • It treats the 1 Mbyte of memory as divided into segments, with a maximum size of a segment as 64 Kbytes. • Thus any location within the segment can be accessed using 16 bits. • The Internal Architecture of 8086 allows only four active segments at a time,For the selection of the four active segments the 16-bit segment registers are provided within the BIU of the 8086.
  • 6. Functions of Segment Registers 1.Code segment (CS) register= The CS register holds the upper 16-bits of the starting address of the segment from which the BIU is currently fetching the instruction code byte. 2.stack segment (SS) register=The SS register is used for the upper 16-bits of the starting address for the program stack (all stack related instructions will operate on stack) 3.extra segment (ES) register= ES register and DS register are used to hold the upper 16-bits of the starting address of the two memory segments Which are used for data.
  • 7. Execution Unit [EU]: • The execution unit of Internal Architecture of 8086 tells the BIU from where to fetch instructions or data, decodes instructions and executes instructions. It contains • Control Circuitry • Instruction Decoder • Arithmetic Logic Unit (ALU) • Flag Register • General Purpose Registers • Pointers and Index Registers
  • 8. Execution Unit [EU]: • The control circuitry in the EU directs the internal operations. • A decoder in the EU translates the instructions fetched from memory into a series of actions wlifeh the EU performs. • ALU is 16-bit. It can add, subtract, AND, OR, XOR, increment, decrements, complement and shift binary numbers. • AX register: (Combination of AL and AH Registers) It holds operands and results during multiplication and division operations. Also an accumulator during String operations. • BX register: (Combination of BL and BH Registers) It holds the memory address (offset address) in indirect addressing modes. • CX register: (Combination of CL and CH Registers) It holds the count for instructions like a loop, rotates, shifts and string operations. • DX register: (Combination of DL and DH Registers) It is used with AX to hold 32-bit values during multiplication and division.
  • 13. Memory Segmentation • Segmentation is the process in which the main memory of the computer is logically divided into different segments and each segment has its own base address. • It is basically used to enhance the speed of execution of the computer system, so that the processor is able to fetch and execute the data from the memory easily and fast. • The number of address lines in 8086 is 20, 8086 BIU will send 20bit address, so as to access one of the 1MB memory locations. • The four segment registers actually contain the upper 16 bits of the starting addresses of the four memory segments of 64 KB each with which the 8086 is working at that instant of time. • A segment is a logical unit of memory that may be up to 64 kilobytes long. • Each segment is made up of contiguous memory locations. • It is an independent, separately addressable unit. Starting address will always be changing. It will not be fixed.
  • 14. Need for Segmentation • Code segment register (CS): is used for addressing memory location in the code segment of the memory, where the executable program is stored. • Data segment register (DS): points to the data segment of the memory where the data is stored. • Extra Segment Register (ES): also refers to a segment in the memory which is another data segment in the memory. • Stack Segment Register (SS): is used for addressing stack segment of the memory. The stack segment is that segment of memory which is used to store stack data.
  • 16. Advantages of the Segmentation • It provides a powerful memory management mechanism. • Data related or stack related operations can be performed in different segments. • Code related operation can be done in separate code segments. • It allows to processes to easily share data. • It allows to extend the address ability of the processor, i.e. segmentation allows the use of 16 bit registers to give an addressing capability of 1 Megabytes. Without segmentation, it would require 20 bit registers. • It is possible to enhance the memory size of code data or stack segments beyond 64 KB by allotting more than one segment for each area.
  • 17. Physical Memory Address Generation • One Mbyte (1024 Kbyte) of physical memory can be interface with the 8086 microprocessor because 8086 has 20 address lines i.e. 220 1024 Kbyte or 1 Mbyte • The segment registers are used to hold 16-bit of the starting address of four memory segments. • But 8086 has 20-bit address bus, so it can address any of 20= 1 Mbytes in memory • The address associated with any instruction or data byte is only 16-bit called as effective address or offset or displacement or logical address. • The logical addresses are used to calculate physical address.
  • 18. stack pointer (SP) • The stack pointer (SP) register contains the 16-bit offset from the start of the segment to the top of stack. • For stack operation, physical address is produced by adding the contents of stack pointer register to the segment base address in SS. • To do this the contents of the stack segment register are shifted four bits left and the contents of SP are added to the shifted result. • If the contents of SP are 9F20H and SS are 4000H then the physical address is calculated as follows. • SS = 4000H after shifting four bits left SS = 40000H
  • 19. Instruction Pointer IP • IP contains the offset address. • The result 20-bit address is the physical address since it is put on external physical address bus pins to be decoded by the memory decoding circuitry. • The offset address is contained in IP = 95F3 H. • the CS contained 2500 H. • The logical address is CS:IP or 2500:95F3. • The physical address will be 25000+ 95F3= 2E5F3 H
  • 21. CONCEPTS OF THE PIPELINING • The technique used to enable an instruction to complete with each clock cycle is called as pipelining. • Normally, on a non-pipelined processor, nine clock cycles are required for fetch, decode and execute cycles for the three instructions • But, on a pipelined processor, the fetch, decode and execute operation are performed in parallel, only five clock cycles are required to execute the same three instructions • First instruction requires three cycles to complete the execution. • Next instructions then complete at a rate of one instruction per cycle. • During the clock cycle 5 we have I, completing, I, being decoded and Is being fetched • Stack is a reserved area of the memory in the RAM, where temporary information may be stored. • Stack operates on the principle of Last In First Out (LIFO).
  • 22. • The queue operates on the principle of first in first out (FIFO). • So that the execution unit gets the instruction for execution in the order they fetched. • Feature of fetching the next instruction while the current instruction is executing is called pipelining which will reduce the execution time. • So. pipelining improve the execution speed of the processor. • In 8086, pipelining is implemented by providing 6 byte queue where as long as 6 one byte instructions can be stored well in a advance and then one by one instruction goes for decoding and execution. • So, while executing first instruction in a queue, processor decodes second instruction and fetches 8th instruction from the memory. • In this way, 8086 perform fetch, decode and execute operation in parallel i.e. in single clock cycle CONCEPTS OF THE PIPELINING
  • 23. Advantages of Pipelining • Pipelining enables many instructions to be executed at the same time.It allows execution to be done in fewer cycles. • Speed up the execution speed of the processor. • More efficient use of processor.