SlideShare a Scribd company logo
8087 INSTRUCTION SET-
    COMPARE AND
  TRANSCENDENTAL.

Presented By,
                 Karan        Onkar
                Punjabi.     Padwal.

                 Shweta      Dimpal
                Pinjarkar.    Patil.
8087 Numeric Co-Processor.
 The 8086 instruction set is not capable of performing
  complex mathematical calculations, word operations,
  etc.
 In order to perform complex operation efficiently, the
  Intel has developed 8087 numeric data processor.
Compare Group.

The comparison instruction compare data at the top of
 the stack (TOS), in relation to another element; and
 return the result of comparison in the status register
 condition code bits.
FCOM: Compare – Real.
   Description : Compares top of stack to the source
                  operand.
   Operation : Takes current top of stack and compares it
                  with the source. If instruction is executed
                  without a specific source operand then source
                  operand can be a register on the stack or
                  memory location.
   Syntax      : FCOM source_operand,
                  FCOM (no operand).
   Exception
    Flag        : I,D.
   Example     : FCOM, FCOM real_long,
                  FCOM real_short.
FCOMP : Compare Real and Pop.
   Description : Compares source and TOS and then
                   POPs the TOS.
   Operation : This instruction takes current top of the
                   stack, compares it with the source
                   operand, and then pops the stack.
   Syntax       : FCOMP source_operand.
                   FCOMP (no operand).
   Exception : I,D.
    Flag
   Example     : FCOMP real_long,
                  FCOMP real_short.
FCOMPP : Compare Real and Pop
               twice.
   Description : Compares TOS and ST(1), pops it
                  twice.
   Operation : This instruction compares TOS to
                  ST(1) of stack and pops stack
                  register twice.
   Syntax      : FCOMPP (no operand).
   Exception : I,D.
    Flag
   Example     : FCOMPP
F1COM : Integer Compare.
   Description : Compares TOS and source.
   Operation : This instruction converts source
                  operand to temporary real and
                  compares TOS to it.
   Syntax      : F1COM source_opreand.
   Exception : I,D.
    Flag
   Example     : F1COM INT_WORD,
                  F1COM INT_SHORT.
F1COMP : Integer Compare and
                Pop.
   Description : Compares TOS and source, pops
                  TOS.
   Operation : This instruction converts source
                  operand to temporary real and compares
                  TOS to it. In addition it pops the top of
                  stack.
   Syntax      : F1COMP source_opreand.
   Exception : I,D.
    Flag
   Example     : F1COMP INT_WORD,
                  F1COMP INT_SHORT.
FTST – TEST.
   Description : Compares TOS and set condition
                  codes.
   Operation : This instruction compares contents
                  of TOS register ST with + 0.0.
   Syntax      : FTST (no operand).
   Exception : I,D.
    Flag
   Example     : FTST.
FXAM.
   Description : Sets condition codes of status word
                  on exam.
   Operation : This instruction examines contents
                  of TOS and register ST.
   Syntax      : FXAM (no operand).
   Exception : NONE.
    Flag
   Example     : FXAM.
TRANSCENDENTAL GROUP.

All transcendental instructions, use ST or ST(1) as their
  operands. Result is stored back in the stack.
F2XM1 : 2 raised to X Power 1.
   Description : Calculates 2 raised to X Power 1.
   Operation : This instruction calculates the ST(0)
                  function, where X=Top of stack 2
                  raised to X Power 1.
   Syntax      : F2XM1 (no operand).
   Exception : NONE.
    Flag
   Example     : F2XM1.
FYL2XP1 : Y*log2(X+1).
   Description : Calculates Y*log2 (X+1).
   Operation : This instruction gets X value from
                  top of stack, ST, Y value from ST(1),
                  pops the stack and returns the result
                  of the calculation to the top of stack
                  register ST.
   Syntax      : FYL2XP1 (no operand).
   Exception : P.
    Flag
   Example     : FYL2XP1.
FYL2X: Y log2 X.
   Description : Calculates Y log2 X.
   Operation : This instruction gets X value from top
                  of stack, ST, Y value from ST(1). The
                  instruction next pops the stack and
                  stores the calculated result back on
                  the stack, ST.
   Syntax      : FYL2X (no operand).
   Exception : P.
    Flag
   Example     : FYL2X.
FPTAN : Partial Tangent.
   Description : Calculates tangent of an angle.
   Operation   : This instruction computes Y/X=tan   θ   of
                  an angle. Range for θ is 0< θ < π / 4 and
                  is taken from top of the stack. Upon
                   completion, Y replaces θ on the stack.
                   Out of ranges values are not signaled.
                   Values of SIN, COS and so must be
                   derived form this operand.
   Syntax      : FPTAN (no operand).
   Exception   : I,P.
    Flag
   Example     : FPTAN.
FPATAN : Partial Arctangent of a
                  Function.
   Description : Calculates arctangent of an function.
   Operation : This instruction pops X value from
                  current top of stack, pops stack a second
                  time, takes the now current TOS for Y value.
                  Calculates (Y/X) and returns result to TOS
                  register. Range of Y and X
                  0 ≤ Y<X< ∞
   Syntax      : FPATAN (no operand).
   Exception   : U,P.
    Flag
   Example     : FPATAN.
8087 numeric co-processor
8087 numeric co-processor

More Related Content

What's hot

Logical Instructions used in 8086 microprocessor
Logical Instructions used in 8086 microprocessorLogical Instructions used in 8086 microprocessor
Logical Instructions used in 8086 microprocessor
Rabin BK
 
Macro
MacroMacro
Macro
Google
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Bilal Amjad
 
Computer design
Computer designComputer design
Computer design
Pradeep Kumar TS
 
04basic Concepts
04basic Concepts04basic Concepts
04basic Concepts
Zhiwen Guo
 
C# looping basic
C# looping basicC# looping basic
C# looping basic
Hock Leng PUAH
 
Pl sql programme
Pl sql programmePl sql programme
Pl sql programme
Dhilip Prakash
 
N_Asm Assembly arithmetic instructions (sol)
N_Asm Assembly arithmetic instructions (sol)N_Asm Assembly arithmetic instructions (sol)
N_Asm Assembly arithmetic instructions (sol)
Selomon birhane
 
The Perception Model Of Mind
The Perception Model Of MindThe Perception Model Of Mind
The Perception Model Of Mind
Peter Anyebe
 
Pda
PdaPda
ใบความรู้ที่ 6-5 ฟังก์ชัน If, If-Else
ใบความรู้ที่ 6-5 ฟังก์ชัน If, If-Elseใบความรู้ที่ 6-5 ฟังก์ชัน If, If-Else
ใบความรู้ที่ 6-5 ฟังก์ชัน If, If-Else
Nattapon
 
Lecture6
Lecture6Lecture6
EDM_SETUP_REQUEST
EDM_SETUP_REQUESTEDM_SETUP_REQUEST
EDM_SETUP_REQUEST
William Gillin
 
MeCC: Memory Comparison-based Code Clone Detector
MeCC: Memory Comparison-based Code Clone DetectorMeCC: Memory Comparison-based Code Clone Detector
MeCC: Memory Comparison-based Code Clone Detector
영범 정
 
[ASM] Lab1
[ASM] Lab1[ASM] Lab1
[ASM] Lab1
Nora Youssef
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
9840596838
 
Instruction set of 8086 Microprocessor
Instruction set of 8086 Microprocessor Instruction set of 8086 Microprocessor
Instruction set of 8086 Microprocessor
Velalar College of Engineering and Technology
 
Chapter2c
Chapter2cChapter2c
Introduction to debugging linux applications
Introduction to debugging linux applicationsIntroduction to debugging linux applications
Introduction to debugging linux applications
commiebstrd
 

What's hot (19)

Logical Instructions used in 8086 microprocessor
Logical Instructions used in 8086 microprocessorLogical Instructions used in 8086 microprocessor
Logical Instructions used in 8086 microprocessor
 
Macro
MacroMacro
Macro
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
 
Computer design
Computer designComputer design
Computer design
 
04basic Concepts
04basic Concepts04basic Concepts
04basic Concepts
 
C# looping basic
C# looping basicC# looping basic
C# looping basic
 
Pl sql programme
Pl sql programmePl sql programme
Pl sql programme
 
N_Asm Assembly arithmetic instructions (sol)
N_Asm Assembly arithmetic instructions (sol)N_Asm Assembly arithmetic instructions (sol)
N_Asm Assembly arithmetic instructions (sol)
 
The Perception Model Of Mind
The Perception Model Of MindThe Perception Model Of Mind
The Perception Model Of Mind
 
Pda
PdaPda
Pda
 
ใบความรู้ที่ 6-5 ฟังก์ชัน If, If-Else
ใบความรู้ที่ 6-5 ฟังก์ชัน If, If-Elseใบความรู้ที่ 6-5 ฟังก์ชัน If, If-Else
ใบความรู้ที่ 6-5 ฟังก์ชัน If, If-Else
 
Lecture6
Lecture6Lecture6
Lecture6
 
EDM_SETUP_REQUEST
EDM_SETUP_REQUESTEDM_SETUP_REQUEST
EDM_SETUP_REQUEST
 
MeCC: Memory Comparison-based Code Clone Detector
MeCC: Memory Comparison-based Code Clone DetectorMeCC: Memory Comparison-based Code Clone Detector
MeCC: Memory Comparison-based Code Clone Detector
 
[ASM] Lab1
[ASM] Lab1[ASM] Lab1
[ASM] Lab1
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
Instruction set of 8086 Microprocessor
Instruction set of 8086 Microprocessor Instruction set of 8086 Microprocessor
Instruction set of 8086 Microprocessor
 
Chapter2c
Chapter2cChapter2c
Chapter2c
 
Introduction to debugging linux applications
Introduction to debugging linux applicationsIntroduction to debugging linux applications
Introduction to debugging linux applications
 

Viewers also liked

8087 Data Processor
8087 Data Processor8087 Data Processor
8087 Data Processor
manu2008
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
yash sawarkar
 
8086 class notes-Y.N.M
8086 class notes-Y.N.M8086 class notes-Y.N.M
8086 class notes-Y.N.M
Dr.YNM
 
Arm architecture
Arm architectureArm architecture
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
Instruction set
Instruction setInstruction set
Instruction set
Kamini Benare
 
Architecture of 80286 microprocessor
Architecture of 80286 microprocessorArchitecture of 80286 microprocessor
Architecture of 80286 microprocessor
Syed Ahmed Zaki
 
Introduction to Interfacing Technique
Introduction to Interfacing TechniqueIntroduction to Interfacing Technique
Introduction to Interfacing Technique
Mabeth MaRiyah Ramos
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
Tech_MX
 
8086 pin function
8086 pin function8086 pin function
8086 pin function
Chaitanya Kulkarni
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
Annies Minu
 
Where can tell me who I am?
Where can tell me who I am?Where can tell me who I am?
Where can tell me who I am?
seltzoid
 
Ghgfgf
GhgfgfGhgfgf
Ghgfgf
series77
 
The orphan of chao
The orphan of chaoThe orphan of chao
The orphan of chao
dean dundas
 
Guia de estudio
Guia de estudioGuia de estudio
Guia de estudio
saralorenaft
 
Business is fun: Shopping in madrid
Business is fun: Shopping in madridBusiness is fun: Shopping in madrid
Business is fun: Shopping in madrid
sarasacristan
 
DDD Sydney 2011 - Getting out of Sync with IIS and Riding a Comet
DDD Sydney 2011 - Getting out of Sync with IIS and Riding a CometDDD Sydney 2011 - Getting out of Sync with IIS and Riding a Comet
DDD Sydney 2011 - Getting out of Sync with IIS and Riding a Comet
Richard Banks
 
Exam54
Exam54Exam54
Blackwell Esteem AFSL
Blackwell Esteem AFSLBlackwell Esteem AFSL
Blackwell Esteem AFSL
samueltay77
 

Viewers also liked (20)

8087 Data Processor
8087 Data Processor8087 Data Processor
8087 Data Processor
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
 
8086 class notes-Y.N.M
8086 class notes-Y.N.M8086 class notes-Y.N.M
8086 class notes-Y.N.M
 
Arm architecture
Arm architectureArm architecture
Arm architecture
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Instruction set
Instruction setInstruction set
Instruction set
 
Architecture of 80286 microprocessor
Architecture of 80286 microprocessorArchitecture of 80286 microprocessor
Architecture of 80286 microprocessor
 
Introduction to Interfacing Technique
Introduction to Interfacing TechniqueIntroduction to Interfacing Technique
Introduction to Interfacing Technique
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
8086 pin function
8086 pin function8086 pin function
8086 pin function
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
 
Wais i
Wais   iWais   i
Wais i
 
Where can tell me who I am?
Where can tell me who I am?Where can tell me who I am?
Where can tell me who I am?
 
Ghgfgf
GhgfgfGhgfgf
Ghgfgf
 
The orphan of chao
The orphan of chaoThe orphan of chao
The orphan of chao
 
Guia de estudio
Guia de estudioGuia de estudio
Guia de estudio
 
Business is fun: Shopping in madrid
Business is fun: Shopping in madridBusiness is fun: Shopping in madrid
Business is fun: Shopping in madrid
 
DDD Sydney 2011 - Getting out of Sync with IIS and Riding a Comet
DDD Sydney 2011 - Getting out of Sync with IIS and Riding a CometDDD Sydney 2011 - Getting out of Sync with IIS and Riding a Comet
DDD Sydney 2011 - Getting out of Sync with IIS and Riding a Comet
 
Exam54
Exam54Exam54
Exam54
 
Blackwell Esteem AFSL
Blackwell Esteem AFSLBlackwell Esteem AFSL
Blackwell Esteem AFSL
 

Similar to 8087 numeric co-processor

instruction-set-of-8086-mr-binu-joy3.ppt
instruction-set-of-8086-mr-binu-joy3.pptinstruction-set-of-8086-mr-binu-joy3.ppt
instruction-set-of-8086-mr-binu-joy3.ppt
ssuser2b759d
 
B sc e 5.2 mp unit 2 soft ware(alp)
B sc e 5.2 mp unit 2 soft ware(alp)B sc e 5.2 mp unit 2 soft ware(alp)
B sc e 5.2 mp unit 2 soft ware(alp)
MahiboobAliMulla
 
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptxa7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
pivap22198
 
lec15_x86procedure_4up.pdf
lec15_x86procedure_4up.pdflec15_x86procedure_4up.pdf
lec15_x86procedure_4up.pdf
hasan58964
 
All About ... Functions
All About ... FunctionsAll About ... Functions
All About ... Functions
Michal Bigos
 
Stacks in c++
Stacks in c++Stacks in c++
Stacks in c++
Vineeta Garg
 
Commons Nabla
Commons NablaCommons Nabla
Commons Nabla
Phil Steitz
 
Microprocessor Basics CH-3
Microprocessor Basics CH-3Microprocessor Basics CH-3
Microprocessor Basics CH-3
Neelam Kapoor
 
GE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdfGE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdf
Asst.prof M.Gokilavani
 
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONSINTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
KalaivaniD12
 
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming BasicsReversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
securityxploded
 
Chapt 06
Chapt 06Chapt 06
Chapt 06
guest2bb25
 
Chapt 06
Chapt 06Chapt 06
Chapt 06
guest2bb25
 
DATA STRUCTURE - STACK
DATA STRUCTURE - STACKDATA STRUCTURE - STACK
DATA STRUCTURE - STACK
Devyani Chaudhari
 
if else python.pdf
if else python.pdfif else python.pdf
if else python.pdf
Gshs6
 
Functions
FunctionsFunctions
Functions
zeeshan841
 
01 stack 20160908_jintaek_seo
01 stack 20160908_jintaek_seo01 stack 20160908_jintaek_seo
01 stack 20160908_jintaek_seo
JinTaek Seo
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
umar78600
 
Flow control instructions
Flow control instructionsFlow control instructions
Flow control instructions
Prodip Ghosh
 
8085 DATA TRANSFER INSTRUCTIONS
8085 DATA TRANSFER INSTRUCTIONS8085 DATA TRANSFER INSTRUCTIONS
8085 DATA TRANSFER INSTRUCTIONS
RamaPrabha24
 

Similar to 8087 numeric co-processor (20)

instruction-set-of-8086-mr-binu-joy3.ppt
instruction-set-of-8086-mr-binu-joy3.pptinstruction-set-of-8086-mr-binu-joy3.ppt
instruction-set-of-8086-mr-binu-joy3.ppt
 
B sc e 5.2 mp unit 2 soft ware(alp)
B sc e 5.2 mp unit 2 soft ware(alp)B sc e 5.2 mp unit 2 soft ware(alp)
B sc e 5.2 mp unit 2 soft ware(alp)
 
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptxa7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
 
lec15_x86procedure_4up.pdf
lec15_x86procedure_4up.pdflec15_x86procedure_4up.pdf
lec15_x86procedure_4up.pdf
 
All About ... Functions
All About ... FunctionsAll About ... Functions
All About ... Functions
 
Stacks in c++
Stacks in c++Stacks in c++
Stacks in c++
 
Commons Nabla
Commons NablaCommons Nabla
Commons Nabla
 
Microprocessor Basics CH-3
Microprocessor Basics CH-3Microprocessor Basics CH-3
Microprocessor Basics CH-3
 
GE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdfGE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdf
 
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONSINTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
 
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming BasicsReversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
 
Chapt 06
Chapt 06Chapt 06
Chapt 06
 
Chapt 06
Chapt 06Chapt 06
Chapt 06
 
DATA STRUCTURE - STACK
DATA STRUCTURE - STACKDATA STRUCTURE - STACK
DATA STRUCTURE - STACK
 
if else python.pdf
if else python.pdfif else python.pdf
if else python.pdf
 
Functions
FunctionsFunctions
Functions
 
01 stack 20160908_jintaek_seo
01 stack 20160908_jintaek_seo01 stack 20160908_jintaek_seo
01 stack 20160908_jintaek_seo
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Flow control instructions
Flow control instructionsFlow control instructions
Flow control instructions
 
8085 DATA TRANSFER INSTRUCTIONS
8085 DATA TRANSFER INSTRUCTIONS8085 DATA TRANSFER INSTRUCTIONS
8085 DATA TRANSFER INSTRUCTIONS
 

Recently uploaded

Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 

Recently uploaded (20)

Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 

8087 numeric co-processor

  • 1. 8087 INSTRUCTION SET- COMPARE AND TRANSCENDENTAL. Presented By, Karan Onkar Punjabi. Padwal. Shweta Dimpal Pinjarkar. Patil.
  • 2. 8087 Numeric Co-Processor.  The 8086 instruction set is not capable of performing complex mathematical calculations, word operations, etc.  In order to perform complex operation efficiently, the Intel has developed 8087 numeric data processor.
  • 3. Compare Group. The comparison instruction compare data at the top of the stack (TOS), in relation to another element; and return the result of comparison in the status register condition code bits.
  • 4. FCOM: Compare – Real.  Description : Compares top of stack to the source operand.  Operation : Takes current top of stack and compares it with the source. If instruction is executed without a specific source operand then source operand can be a register on the stack or memory location.  Syntax : FCOM source_operand, FCOM (no operand).  Exception Flag : I,D.  Example : FCOM, FCOM real_long, FCOM real_short.
  • 5. FCOMP : Compare Real and Pop.  Description : Compares source and TOS and then POPs the TOS.  Operation : This instruction takes current top of the stack, compares it with the source operand, and then pops the stack.  Syntax : FCOMP source_operand. FCOMP (no operand).  Exception : I,D. Flag  Example : FCOMP real_long, FCOMP real_short.
  • 6. FCOMPP : Compare Real and Pop twice.  Description : Compares TOS and ST(1), pops it twice.  Operation : This instruction compares TOS to ST(1) of stack and pops stack register twice.  Syntax : FCOMPP (no operand).  Exception : I,D. Flag  Example : FCOMPP
  • 7. F1COM : Integer Compare.  Description : Compares TOS and source.  Operation : This instruction converts source operand to temporary real and compares TOS to it.  Syntax : F1COM source_opreand.  Exception : I,D. Flag  Example : F1COM INT_WORD, F1COM INT_SHORT.
  • 8. F1COMP : Integer Compare and Pop.  Description : Compares TOS and source, pops TOS.  Operation : This instruction converts source operand to temporary real and compares TOS to it. In addition it pops the top of stack.  Syntax : F1COMP source_opreand.  Exception : I,D. Flag  Example : F1COMP INT_WORD, F1COMP INT_SHORT.
  • 9. FTST – TEST.  Description : Compares TOS and set condition codes.  Operation : This instruction compares contents of TOS register ST with + 0.0.  Syntax : FTST (no operand).  Exception : I,D. Flag  Example : FTST.
  • 10. FXAM.  Description : Sets condition codes of status word on exam.  Operation : This instruction examines contents of TOS and register ST.  Syntax : FXAM (no operand).  Exception : NONE. Flag  Example : FXAM.
  • 11. TRANSCENDENTAL GROUP. All transcendental instructions, use ST or ST(1) as their operands. Result is stored back in the stack.
  • 12. F2XM1 : 2 raised to X Power 1.  Description : Calculates 2 raised to X Power 1.  Operation : This instruction calculates the ST(0) function, where X=Top of stack 2 raised to X Power 1.  Syntax : F2XM1 (no operand).  Exception : NONE. Flag  Example : F2XM1.
  • 13. FYL2XP1 : Y*log2(X+1).  Description : Calculates Y*log2 (X+1).  Operation : This instruction gets X value from top of stack, ST, Y value from ST(1), pops the stack and returns the result of the calculation to the top of stack register ST.  Syntax : FYL2XP1 (no operand).  Exception : P. Flag  Example : FYL2XP1.
  • 14. FYL2X: Y log2 X.  Description : Calculates Y log2 X.  Operation : This instruction gets X value from top of stack, ST, Y value from ST(1). The instruction next pops the stack and stores the calculated result back on the stack, ST.  Syntax : FYL2X (no operand).  Exception : P. Flag  Example : FYL2X.
  • 15. FPTAN : Partial Tangent.  Description : Calculates tangent of an angle.  Operation : This instruction computes Y/X=tan θ of an angle. Range for θ is 0< θ < π / 4 and is taken from top of the stack. Upon completion, Y replaces θ on the stack. Out of ranges values are not signaled. Values of SIN, COS and so must be derived form this operand.  Syntax : FPTAN (no operand).  Exception : I,P. Flag  Example : FPTAN.
  • 16. FPATAN : Partial Arctangent of a Function.  Description : Calculates arctangent of an function.  Operation : This instruction pops X value from current top of stack, pops stack a second time, takes the now current TOS for Y value. Calculates (Y/X) and returns result to TOS register. Range of Y and X 0 ≤ Y<X< ∞  Syntax : FPATAN (no operand).  Exception : U,P. Flag  Example : FPATAN.