Thread: x86 help
View Single Post
Old 06-22-2004, 11:36 PM   #1 (permalink)
Amaranthine
Registered User
 
Amaranthine's Avatar
 
Join Date: May 2004
Posts: 47
Amaranthine is on a distinguished road
x86 help

I was programming today when I realised I have no idea how to use floating point arithmatic with x86 assembly.
I opened up intel's documentation and found an onslought of instructions I had never seen or heard about, books of mine mentioned them but never went over it at all.

I'd really like to put these instructions to use, but I don't know how...
(do I need to run the FLDENV instruction to do anything?)
I would greatly appreciate it if someone could give me a short explanation of what the c0, c1, c2, and c3 flags are.
What the ST(i) register? is, and a quick example of how to do anything at all (such as FMUL or any fpu instruction)

Intel's documentation has only baffeled me, if I could even get a quick starter on how the hell you do anything with this stuff I think I could get the hang of it from there on my own.

Thanks yet again
Amaranthine is offline   Reply With Quote