From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: names of FPU registers in inline asm? Date: Fri, 13 Jun 1997 20:22:06 +0100 Organization: None Distribution: world Message-ID: References: <5nqddg$2e2$2 AT hecate DOT umd DOT edu> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jason Stratos Papadopoulos writes: >Hello. There are ample resources on the web for inline assembly in >DJGPP, but very little regarding floating point. I was wondering: >what are the FPU registers named? st(0),st(1),... or something else? They are called %st(0), %st(1), etc. Hint: with any question like this, just write a little C file that does what you want, compile it with -S, and look at the assembly code output by gcc. It's by far the best way to figure out how it all works... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.