SlideShare a Scribd company logo
1 of 17
Title: 8087-Math Coprocessor
Prepared By:
Tabeen Tasneem
Tazeen Tasneem
Department of Computer Science & Engineering
Rajshashi University of Engineering & Technology, Bangladesh
1
CONTENTS
8087 - Math Coprocessor
2
 Introduction
 Data Types
 Pin Diagram
 Architecture
 Control Unit(CU)
 Numerical Execution Unit(NEU)
 Interconnections of 8087 with 8086
INTRODUCTION
8087 - Math Coprocessor
3
 8087 was the first math coprocessor for 16-bit processors designed by
Intel.
 It was built to pair with 8086 and 8088.
 The purpose of 8087 was to speed up the computations involving
floating point calculations.
 Addition, subtraction, multiplication and division of simple numbers is
not the coprocessor’s job.
 It does all the calculations involving floating point numbers like scientific
calculations and algebraic functions.
INTRODUCTION(cont.)
8087 - Math Coprocessor
4
 By having a coprocessor, which performs all the calculations, it can free
up a lot of CPU’s time.
 This would allow the CPU to focus all of its resources on the other
functions it has to perform.
 This increases the overall speed and performance of the entire system.
 This coprocessor introduced about 60 new instructions available to the
programmer.
 All the mnemonics begin with “F” to differentiate them from the standard
8086 instructions.
WHY MATHCOPROCESSOR?
8087 - Math Coprocessor
5
 Floating point operations are complex math operations that require
large registers, complex circuits, and areas on the chip.
 A general data processor avoids this much burden and delegates such
operations to a coprocessor designed specifically for this purpose e.g.
8087 math co-processor for 8086 microprocessor.
8087 DATA TYPES
 Binary Integers
 Packed Decimal Numbers
 Real Numbers
 Temporary Real Format
8087 - Math Coprocessor
6
PIN DIAGRAMOF 8087
8087 - Math Coprocessor
7
ARCHITECTURE OF 8087
8087 - Math Coprocessor
8
 8087 coprocessor is designed to operate with 8086 microprocessor.
 The microprocessor and coprocessor can execute their respective
instructions simultaneously.
 Microprocessor interprets and executes the normal instruction set and
the coprocessor interprets and executes only the coprocessor
instructions.
 All the coprocessor instructions are ESC instructions, i.e. they start with
“F”.
ARCHITECTURE OF 8087(CONT.)
8087 - Math Coprocessor
9
ARCHITECTURE OF 8087(CONT.)
8087 - Math Coprocessor
10
 The internal structure of 8087 coprocessor is divided into two major
sections:
• Control Unit (CU)
• Numerical Execution Unit (NEU)
CONTROL UNIT(CU)
8087 - Math Coprocessor
11
 It interfaces coprocessor to the microprocessor system bus.
 It also synchronize the operation of the coprocessor and the
microprocessor.
 This unit has a Control Word, Status Word and Data Buffer.
 If an instruction is ESC instruction, then coprocessor executes it.
 If not, then microprocessor executes.
NUMERICAL EXECUTION UNIT(NEU)
8087 - Math Coprocessor
12
 This unit is responsible for executing all coprocessor instructions.
 It has an 8 register stack that holds the operands for instructions and
result of instructions.
 The stack contains 8 registers that are 80-bits wide.
Numeric data is transferred inside the coprocessor in two parts:
• 64-bit mantissa bus
• 16-bit exponent bus
INTERCONNECTIONS OF 8087 WITH8086
8087 - Math Coprocessor
13
INTERCONNECTIONS OF 8087 WITH8086(CONT.)
8087 - Math Coprocessor
14
 Multiplexed address-data bus lines are connected directly from 8086 to
8087.
 The status lines and the queue status lines are connected directly from
8086 to 8087.
 The Request/Grant (RQ/GT0 and RQ/GT1) signals of 8087 are
connected to RQ/GT0 and RQ/GT1 of 8086.
 BUSY signal of 8087 is connected to TEST pin of 8086.
INTERCONNECTIONS OF 8087 WITH8086(CONT.)
8087 - Math Coprocessor
15
 Interrupt output INT of the 8087 to NMI input of 8086. This intimates an
error conditions.
 A WAIT instruction is passed to keep looking at its TEST pin, until it
finds pin LOW to indicates that the 8087 has completed the
computation.
That’s all FOR TODAY!!
8087 - Math Coprocessor
16
THANK YOU ALL…
8087 - Math Coprocessor
17
ANY QUERIES?

More Related Content

What's hot

What's hot (20)

7 segment led interfacing with 8051
7 segment led interfacing with 80517 segment led interfacing with 8051
7 segment led interfacing with 8051
 
Microprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answersMicroprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answers
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255
 
Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
Time delay programs and assembler directives 8086
Time delay programs and assembler directives 8086Time delay programs and assembler directives 8086
Time delay programs and assembler directives 8086
 
80286 microprocessor
80286 microprocessor80286 microprocessor
80286 microprocessor
 
Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessor
 
8255 ppi
8255 ppi8255 ppi
8255 ppi
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directives
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 
Microprocessor 8086 instructions
Microprocessor 8086 instructionsMicroprocessor 8086 instructions
Microprocessor 8086 instructions
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSORARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
 

Similar to Math Co-processor 8087

8087 Data Processor
8087 Data Processor8087 Data Processor
8087 Data Processor
manu2008
 

Similar to Math Co-processor 8087 (20)

8087 Data Processor
8087 Data Processor8087 Data Processor
8087 Data Processor
 
3. Coprocessor.ppt
3. Coprocessor.ppt3. Coprocessor.ppt
3. Coprocessor.ppt
 
Internal architecture of 8087.ppt
Internal architecture of 8087.pptInternal architecture of 8087.ppt
Internal architecture of 8087.ppt
 
8087 MICROPROCESSOR and diagram with definition.pdf
8087 MICROPROCESSOR and diagram with definition.pdf8087 MICROPROCESSOR and diagram with definition.pdf
8087 MICROPROCESSOR and diagram with definition.pdf
 
Microprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackholeMicroprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackhole
 
Math coprocessor 8087
Math coprocessor 8087Math coprocessor 8087
Math coprocessor 8087
 
Computer system architecture (microprocessor 8085) unit 4
Computer system architecture (microprocessor 8085) unit  4Computer system architecture (microprocessor 8085) unit  4
Computer system architecture (microprocessor 8085) unit 4
 
Microprocessor systems 8085
Microprocessor systems 8085Microprocessor systems 8085
Microprocessor systems 8085
 
Processoer 80486
Processoer 80486Processoer 80486
Processoer 80486
 
EE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab ManuelEE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab Manuel
 
Eec503, mp 30 questions
Eec503, mp 30 questionsEec503, mp 30 questions
Eec503, mp 30 questions
 
Eec503, mp 30 questions
Eec503, mp 30 questionsEec503, mp 30 questions
Eec503, mp 30 questions
 
Mpi chapter 2
Mpi chapter 2Mpi chapter 2
Mpi chapter 2
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Chp 1- barrybrei -rj.pdf
Chp 1- barrybrei -rj.pdfChp 1- barrybrei -rj.pdf
Chp 1- barrybrei -rj.pdf
 
ppt 1 barrybrei.ppt
ppt 1 barrybrei.pptppt 1 barrybrei.ppt
ppt 1 barrybrei.ppt
 
Micropro
MicroproMicropro
Micropro
 
Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]
 
Assembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptxAssembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptx
 
IBM processors,registers,segmentation
IBM processors,registers,segmentationIBM processors,registers,segmentation
IBM processors,registers,segmentation
 

Recently uploaded

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 

Math Co-processor 8087

  • 1. Title: 8087-Math Coprocessor Prepared By: Tabeen Tasneem Tazeen Tasneem Department of Computer Science & Engineering Rajshashi University of Engineering & Technology, Bangladesh 1
  • 2. CONTENTS 8087 - Math Coprocessor 2  Introduction  Data Types  Pin Diagram  Architecture  Control Unit(CU)  Numerical Execution Unit(NEU)  Interconnections of 8087 with 8086
  • 3. INTRODUCTION 8087 - Math Coprocessor 3  8087 was the first math coprocessor for 16-bit processors designed by Intel.  It was built to pair with 8086 and 8088.  The purpose of 8087 was to speed up the computations involving floating point calculations.  Addition, subtraction, multiplication and division of simple numbers is not the coprocessor’s job.  It does all the calculations involving floating point numbers like scientific calculations and algebraic functions.
  • 4. INTRODUCTION(cont.) 8087 - Math Coprocessor 4  By having a coprocessor, which performs all the calculations, it can free up a lot of CPU’s time.  This would allow the CPU to focus all of its resources on the other functions it has to perform.  This increases the overall speed and performance of the entire system.  This coprocessor introduced about 60 new instructions available to the programmer.  All the mnemonics begin with “F” to differentiate them from the standard 8086 instructions.
  • 5. WHY MATHCOPROCESSOR? 8087 - Math Coprocessor 5  Floating point operations are complex math operations that require large registers, complex circuits, and areas on the chip.  A general data processor avoids this much burden and delegates such operations to a coprocessor designed specifically for this purpose e.g. 8087 math co-processor for 8086 microprocessor.
  • 6. 8087 DATA TYPES  Binary Integers  Packed Decimal Numbers  Real Numbers  Temporary Real Format 8087 - Math Coprocessor 6
  • 7. PIN DIAGRAMOF 8087 8087 - Math Coprocessor 7
  • 8. ARCHITECTURE OF 8087 8087 - Math Coprocessor 8  8087 coprocessor is designed to operate with 8086 microprocessor.  The microprocessor and coprocessor can execute their respective instructions simultaneously.  Microprocessor interprets and executes the normal instruction set and the coprocessor interprets and executes only the coprocessor instructions.  All the coprocessor instructions are ESC instructions, i.e. they start with “F”.
  • 9. ARCHITECTURE OF 8087(CONT.) 8087 - Math Coprocessor 9
  • 10. ARCHITECTURE OF 8087(CONT.) 8087 - Math Coprocessor 10  The internal structure of 8087 coprocessor is divided into two major sections: • Control Unit (CU) • Numerical Execution Unit (NEU)
  • 11. CONTROL UNIT(CU) 8087 - Math Coprocessor 11  It interfaces coprocessor to the microprocessor system bus.  It also synchronize the operation of the coprocessor and the microprocessor.  This unit has a Control Word, Status Word and Data Buffer.  If an instruction is ESC instruction, then coprocessor executes it.  If not, then microprocessor executes.
  • 12. NUMERICAL EXECUTION UNIT(NEU) 8087 - Math Coprocessor 12  This unit is responsible for executing all coprocessor instructions.  It has an 8 register stack that holds the operands for instructions and result of instructions.  The stack contains 8 registers that are 80-bits wide. Numeric data is transferred inside the coprocessor in two parts: • 64-bit mantissa bus • 16-bit exponent bus
  • 13. INTERCONNECTIONS OF 8087 WITH8086 8087 - Math Coprocessor 13
  • 14. INTERCONNECTIONS OF 8087 WITH8086(CONT.) 8087 - Math Coprocessor 14  Multiplexed address-data bus lines are connected directly from 8086 to 8087.  The status lines and the queue status lines are connected directly from 8086 to 8087.  The Request/Grant (RQ/GT0 and RQ/GT1) signals of 8087 are connected to RQ/GT0 and RQ/GT1 of 8086.  BUSY signal of 8087 is connected to TEST pin of 8086.
  • 15. INTERCONNECTIONS OF 8087 WITH8086(CONT.) 8087 - Math Coprocessor 15  Interrupt output INT of the 8087 to NMI input of 8086. This intimates an error conditions.  A WAIT instruction is passed to keep looking at its TEST pin, until it finds pin LOW to indicates that the 8087 has completed the computation.
  • 16. That’s all FOR TODAY!! 8087 - Math Coprocessor 16 THANK YOU ALL…
  • 17. 8087 - Math Coprocessor 17 ANY QUERIES?