X87 FPU Programming

  • Daniel Kusswurm


This chapter covers additional details about the architecture of the x87 FPU and its instruction set. The chapter includes an assortment of x86 assembly language functions that demonstrate the fundamentals of x87 FPU programming along with some advanced techniques. You’ll begin your exploration of the x87 FPU with an examination of some sample programs that illustrate how to perform basic arithmetic and compare operations using floating-point numbers. Next, you’ll learn how to perform calculations using floating-point arrays. The final set of sample programs in this chapter describes the x87 FPU’s transcendental instructions along with a few techniques that exemplify efficient x87 FPU register stack use. The content of this chapter assumes that you’re familiar with material presented in Chapters 1, 2, and 3.


Memory Location Array Element Sample Program Sample Standard Deviation Validity Check 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Daniel Kusswurm 2014

Authors and Affiliations

  • Daniel Kusswurm
    • 1
  1. 1.ILUnited States

Personalised recommendations