CHAPTER 4

image

X87 FPU Programming

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 ...

Get Modern X86 Assembly Language Programming: 32-bit, 64-bit, SSE, and AVX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.