Simple floating point operations in assembly language

Опубликовано: 04 Август 2024
на канале: Computing Mongoose
964
28

Implementation of 4 floating point operations: SQUARE, SQRT (SQuare RooT), Exponentiation (power, X^Y), e^X. I am using x87 floating point assembly language instructions. In the beginning I am giving a very brief intro regarding the x87 and 8087 floating point coprocessor instructions. Nowadays, these instructions are available in all x86 CPUs, internally, without an external coprocessor.

Additional resources:
Convert floating point numbers to string and display:    • Convert 32bit floating point numbers ...  
Display a string in Linux:    • Writing to Linux console in 64bit ass...  
Installing NASM from source:    • Installing NASM from source on Linux ...  
Assembling and linking multiple files:    • Splitting assembly language program i...  
Wikibooks floating point introductions: https://en.wikibooks.org/wiki/X86_Ass...
8087 Datasheet: https://datasheets.chipdb.org/Intel/x...
x87 instructions: https://www.felixcloutier.com/x86/fst... , https://www.felixcloutier.com/x86/

#assemblylanguage #x86 #64bits #linux #8087