SlideShare a Scribd company logo
Assignment
Topic Name: Define in details 8086 Microprocessor (MP)
Register Organization
Course Title: Computer Microprocessor and Assembly language
Course Code: CSE-321
Submitted To
Md Ataullah Bhuiyan
Senior Lecturer, Department of
CSE
CityUniversity
Submitted By
Mushahadur Rahaman Khan
BSc in CSE (Day)
Batch: 49th
ID: 1834902513
Date Of Submission: 31/08/2021
What is the Microprocessor !
A microprocessor is a modern computer processor where data processing logic and control
consists of a single integrated circuit and a small number of integrated circuits.
The microprocessor contains the mathematical, logic, and control circuitry required to perform
the functions of a computer's central processing unit.
What about 8086 Microprocessor ?
It was designed in 1978 by Intel and is a 16-bit microprocessor. Unlike, 8085, an 8086
microprocessor has 20-bit address bus. Thus, is able to access 220 that is 1 MB address in the
memory.
As we know, that a microprocessor performs arithmetic and logic operations. It an 8086
microprocessor is able perform these operations with 16-bit data in one cycle. Hence is the 16-
bit microprocessor. Thus, the size of the data bus is 16-bit as it can carry on 16-bit data at a
time. The architecture of 8086 microprocessor, is very much different from that of 8085
microprocessors.
Working of 8086 Microprocessor
In the previous section, we have discussed the operation of various sections of the BIU and EU.
Now in this section So, basically, when an instruction is to be fetched from the memory, then
firstly its physical address must be calculated and this is done at the BIU. The physical address of
an instruction is given as:
PA = Segment address Χ 10 + Offset
the generated physical address is 24356 H. Here, the code segment register provides the base
address of the code segment which is combined with the offset address.
The control unit decodes the opcode and generates control signals that inform the BL and CL
register to release the value stored in it. Also, it signals the ALU to perform the ADD operation
on that particular data.
It is to be noteworthy that is BIU, pipelining fails whenever there is a branching in an instruction.
This is because generally instructions are present in the sequential manner.
Block Diagram of 8086 Microprocessor
The architecture of 8086 microprocessor is the composed of 2 major units, the BIU that is Bus
Interface Unit and EU that is Execution Unit. The figure below shows the block diagram of the
architectural representation of the 8086 microprocessors.
Draw the pin diagram of 8086
There would be two pin diagrams—one for MIN mode and the other for MAX mode of 8086, the
pins that differ with each other in the two modes are from pin-24 to pin-31 (total 8 pins).
Signals of intel 8086 for minimum mode of operation
Bus Interface Unit
The Bus Interface Unit (BIU) manages the data, address and control buses.
The BIU functions in such a way that it:
Fetches the sequenced instruction from the memory,
Finds the physical address of that location in the memory where the instruction is stored
and
Manages the 6-byte pre-fetch queue where the pipelined instructions are stored.
Instruction Queue: When EU executes instructions, the BIU gets 6-bytes of the next
instruction and stores them in the instruction queue and this process is known as instruction pre
fetch. This process increases the speed of the processor.
Segment Registers: A segment register contains the addresses of instructions and data in
memory which are used by the processor to access memory locations. It points to the starting
address of a memory segment currently being used.
There are 4 segment registers in 8086 as given below:
Code Segment
Register (CS)
Data Segment
Register (DS)
Stack Segment
Register (SS)
Extra Segment
Register (ES)
 Code segment
of the memory
holds
instruction
codes of the
program.
 The data,
variables and
constants given
in the program
are held in a
data segment of
the memory.
 Stack segment
holds addresses
and data of
subroutines. It
holds contents
of registers &
memory
locations in
push instruction.
 Extra segment
holds a
destination
addresses of
some data of
certain string
instructions.
Execution Unit
EU and then unit decodes or executes an instruction, then the BIU fetches instruction codes from
the memory.
Control Unit:
In the timing & control unit in 8085 microprocessors, a control unit in 8086 microprocessor
produces control signal after decoding the opcode to the general-purpose register to release a
value stored in it. It also signals the ALU to perform the desired operation.
ALU: The arithmetic and logic unit carries out the logical tasks according to the signal
generated by the CU. The result of the operation is stored in the desired register.
General Purpose Registers: We have four 16-bit general purpose registers: AX
(Accumulator Register), BX (Base Register), CX (Counter) and DX. And each of these 16-bit
registers are further subdivided into 8-bit registers as shown below:
Conditional
Flags
This flag represents the result of the last arithmetic or logical instruction
executed.
Carry Flag
Auxiliary Flag
Parity Flag
Zero Flag
Sign Flag
Overflow Flag
Index
Register
The following four registers are in the group of pointer and index registers:
SP (Stack Pointer)
BP (Base Pointer)
SI (Source Index)
DI (Destination Index)
Control
Flags
It controls the operations of the execution unit. Control flags are:
Trap Flag
Interrupt Flag
Direction Flag

More Related Content

What's hot

Advanced microprocessor
Advanced microprocessorAdvanced microprocessor
Advanced microprocessor
Shehrevar Davierwala
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Adeel Rasheed
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Gopikrishna Madanan
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
Nikhil Kumar
 
Assembly Language and Structures of Microcomputer | Chap-1
Assembly Language and Structures of Microcomputer | Chap-1Assembly Language and Structures of Microcomputer | Chap-1
Assembly Language and Structures of Microcomputer | Chap-1
Nafis Ahmed
 
Microprocessor
Microprocessor Microprocessor
Microprocessor
Vijay Kannamalla
 
80386 Architecture
80386 Architecture80386 Architecture
80386 Architecture
Rohit Choudhury
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Umang Dhuri
 
Advanced micro -processor
Advanced micro -processorAdvanced micro -processor
Advanced micro -processor
Hinal Lunagariya
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessor
Vikas Gupta
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
Shubham Singh
 
Microprocessor and interfacing
Microprocessor and interfacingMicroprocessor and interfacing
Microprocessor and interfacingmodimitesh61
 
Introduction to-microprocessors
Introduction to-microprocessorsIntroduction to-microprocessors
Introduction to-microprocessors
Volodymyr Ushenko
 
Microprocessor Presentation
Microprocessor PresentationMicroprocessor Presentation
Microprocessor Presentation
alaminmasum1
 
Introduction of CPU part 2
Introduction of CPU part 2Introduction of CPU part 2
Introduction of CPU part 2
Tharindu Darshana
 

What's hot (20)

Advanced microprocessor
Advanced microprocessorAdvanced microprocessor
Advanced microprocessor
 
8086 conti
8086 conti8086 conti
8086 conti
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
 
Assembly Language and Structures of Microcomputer | Chap-1
Assembly Language and Structures of Microcomputer | Chap-1Assembly Language and Structures of Microcomputer | Chap-1
Assembly Language and Structures of Microcomputer | Chap-1
 
Microprocessor
Microprocessor Microprocessor
Microprocessor
 
8086
80868086
8086
 
80386 Architecture
80386 Architecture80386 Architecture
80386 Architecture
 
Unit 1
Unit 1Unit 1
Unit 1
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Advanced micro -processor
Advanced micro -processorAdvanced micro -processor
Advanced micro -processor
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessor
 
Micro 2
Micro 2Micro 2
Micro 2
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
Microprocessor and interfacing
Microprocessor and interfacingMicroprocessor and interfacing
Microprocessor and interfacing
 
Chapter8-mikroprocessor
Chapter8-mikroprocessorChapter8-mikroprocessor
Chapter8-mikroprocessor
 
Introduction to-microprocessors
Introduction to-microprocessorsIntroduction to-microprocessors
Introduction to-microprocessors
 
Microprocessor Presentation
Microprocessor PresentationMicroprocessor Presentation
Microprocessor Presentation
 
Introduction of CPU part 2
Introduction of CPU part 2Introduction of CPU part 2
Introduction of CPU part 2
 

Similar to Details 8086 Microprocessor

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
RAHUL RANJAN
 
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
Anas Sa
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt
JamesAlpha3
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
muneer.k
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
gohanraw
 
8086 Introduction
8086 Introduction8086 Introduction
8086 Introduction
harikrishna parikh
 
fco-lecture-8086
fco-lecture-8086fco-lecture-8086
fco-lecture-8086
24happy24
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
Deepak John
 
Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
Diponkor Bala
 
Microprocessor (1)
Microprocessor (1)Microprocessor (1)
Microprocessor (1)Muhd Azlan
 
8086 Microprocessor
8086  Microprocessor8086  Microprocessor
8086 Microprocessor
Sudhakumari46
 
Computer Engineering II Year.pdf
Computer Engineering II Year.pdfComputer Engineering II Year.pdf
Computer Engineering II Year.pdf
ChandraSekhar167698
 
Ece 8085-microprocessor-ppt
Ece 8085-microprocessor-pptEce 8085-microprocessor-ppt
Ece 8085-microprocessor-ppt
satyamshra
 
Microprocessor note
Microprocessor noteMicroprocessor note
Microprocessor note
alokbhatta
 
Mpi chapter 2
Mpi chapter 2Mpi chapter 2
Mpi chapter 2
birhanugirmay
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacing
Shamsul Huda
 
Microprocessor 8085
Microprocessor 8085Microprocessor 8085
Microprocessor 8085
Dhaval Barot
 

Similar to Details 8086 Microprocessor (20)

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
 
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
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8085
80858085
8085
 
8085
80858085
8085
 
8086 Introduction
8086 Introduction8086 Introduction
8086 Introduction
 
fco-lecture-8086
fco-lecture-8086fco-lecture-8086
fco-lecture-8086
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 
Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
 
Microprocessor (1)
Microprocessor (1)Microprocessor (1)
Microprocessor (1)
 
8086 Microprocessor
8086  Microprocessor8086  Microprocessor
8086 Microprocessor
 
8085
80858085
8085
 
Computer Engineering II Year.pdf
Computer Engineering II Year.pdfComputer Engineering II Year.pdf
Computer Engineering II Year.pdf
 
Ece 8085-microprocessor-ppt
Ece 8085-microprocessor-pptEce 8085-microprocessor-ppt
Ece 8085-microprocessor-ppt
 
Microprocessor note
Microprocessor noteMicroprocessor note
Microprocessor note
 
Mpi chapter 2
Mpi chapter 2Mpi chapter 2
Mpi chapter 2
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacing
 
Microprocessor 8085
Microprocessor 8085Microprocessor 8085
Microprocessor 8085
 

More from Mushahadur Rahaman Khan

Mail server configaretion
Mail server configaretionMail server configaretion
Mail server configaretion
Mushahadur Rahaman Khan
 
Note 3
Note 3Note 3
Note 4
Note 4Note 4
Assignment 1
Assignment 1Assignment 1

More from Mushahadur Rahaman Khan (6)

Mail server configaretion
Mail server configaretionMail server configaretion
Mail server configaretion
 
Note 3
Note 3Note 3
Note 3
 
Note 4
Note 4Note 4
Note 4
 
Assignment 1
Assignment 1Assignment 1
Assignment 1
 
Note 2
Note 2Note 2
Note 2
 
Note 1
Note 1Note 1
Note 1
 

Recently uploaded

MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 

Recently uploaded (20)

MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 

Details 8086 Microprocessor

  • 1. Assignment Topic Name: Define in details 8086 Microprocessor (MP) Register Organization Course Title: Computer Microprocessor and Assembly language Course Code: CSE-321 Submitted To Md Ataullah Bhuiyan Senior Lecturer, Department of CSE CityUniversity Submitted By Mushahadur Rahaman Khan BSc in CSE (Day) Batch: 49th ID: 1834902513
  • 2. Date Of Submission: 31/08/2021
  • 3. What is the Microprocessor ! A microprocessor is a modern computer processor where data processing logic and control consists of a single integrated circuit and a small number of integrated circuits. The microprocessor contains the mathematical, logic, and control circuitry required to perform the functions of a computer's central processing unit. What about 8086 Microprocessor ? It was designed in 1978 by Intel and is a 16-bit microprocessor. Unlike, 8085, an 8086 microprocessor has 20-bit address bus. Thus, is able to access 220 that is 1 MB address in the memory. As we know, that a microprocessor performs arithmetic and logic operations. It an 8086 microprocessor is able perform these operations with 16-bit data in one cycle. Hence is the 16- bit microprocessor. Thus, the size of the data bus is 16-bit as it can carry on 16-bit data at a time. The architecture of 8086 microprocessor, is very much different from that of 8085 microprocessors. Working of 8086 Microprocessor In the previous section, we have discussed the operation of various sections of the BIU and EU. Now in this section So, basically, when an instruction is to be fetched from the memory, then firstly its physical address must be calculated and this is done at the BIU. The physical address of an instruction is given as: PA = Segment address Χ 10 + Offset the generated physical address is 24356 H. Here, the code segment register provides the base address of the code segment which is combined with the offset address.
  • 4. The control unit decodes the opcode and generates control signals that inform the BL and CL register to release the value stored in it. Also, it signals the ALU to perform the ADD operation on that particular data. It is to be noteworthy that is BIU, pipelining fails whenever there is a branching in an instruction. This is because generally instructions are present in the sequential manner.
  • 5. Block Diagram of 8086 Microprocessor The architecture of 8086 microprocessor is the composed of 2 major units, the BIU that is Bus Interface Unit and EU that is Execution Unit. The figure below shows the block diagram of the architectural representation of the 8086 microprocessors.
  • 6. Draw the pin diagram of 8086 There would be two pin diagrams—one for MIN mode and the other for MAX mode of 8086, the pins that differ with each other in the two modes are from pin-24 to pin-31 (total 8 pins). Signals of intel 8086 for minimum mode of operation
  • 7. Bus Interface Unit The Bus Interface Unit (BIU) manages the data, address and control buses. The BIU functions in such a way that it: Fetches the sequenced instruction from the memory, Finds the physical address of that location in the memory where the instruction is stored and Manages the 6-byte pre-fetch queue where the pipelined instructions are stored. Instruction Queue: When EU executes instructions, the BIU gets 6-bytes of the next instruction and stores them in the instruction queue and this process is known as instruction pre fetch. This process increases the speed of the processor. Segment Registers: A segment register contains the addresses of instructions and data in memory which are used by the processor to access memory locations. It points to the starting address of a memory segment currently being used. There are 4 segment registers in 8086 as given below: Code Segment Register (CS) Data Segment Register (DS) Stack Segment Register (SS) Extra Segment Register (ES)  Code segment of the memory holds instruction codes of the program.  The data, variables and constants given in the program are held in a data segment of the memory.  Stack segment holds addresses and data of subroutines. It holds contents of registers & memory locations in push instruction.  Extra segment holds a destination addresses of some data of certain string instructions.
  • 8. Execution Unit EU and then unit decodes or executes an instruction, then the BIU fetches instruction codes from the memory. Control Unit: In the timing & control unit in 8085 microprocessors, a control unit in 8086 microprocessor produces control signal after decoding the opcode to the general-purpose register to release a value stored in it. It also signals the ALU to perform the desired operation. ALU: The arithmetic and logic unit carries out the logical tasks according to the signal generated by the CU. The result of the operation is stored in the desired register. General Purpose Registers: We have four 16-bit general purpose registers: AX (Accumulator Register), BX (Base Register), CX (Counter) and DX. And each of these 16-bit registers are further subdivided into 8-bit registers as shown below: Conditional Flags This flag represents the result of the last arithmetic or logical instruction executed. Carry Flag Auxiliary Flag Parity Flag Zero Flag Sign Flag Overflow Flag
  • 9. Index Register The following four registers are in the group of pointer and index registers: SP (Stack Pointer) BP (Base Pointer) SI (Source Index) DI (Destination Index) Control Flags It controls the operations of the execution unit. Control flags are: Trap Flag Interrupt Flag Direction Flag