Message-ID: <3AE8B6EB.A9D73989@caresystems.com.au> From: leon X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: any interpretations in as? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 18 NNTP-Posting-Host: kalima.ozemail.com.au X-Trace: ozemail.com.au 988330076 203.108.63.158 (Fri, 27 Apr 2001 10:07:56 EST) NNTP-Posting-Date: Fri, 27 Apr 2001 10:07:56 EST Organization: OzEmail Ltd, Australia Distribution: world Date: Fri, 27 Apr 2001 10:01:47 +1000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi all, just wondered for the sake of learning gcc assembler inline syntax, if anyone can provide some interpretations/translations of the following intel style assembly code as it would be written in AT&T sytle syntax. As one gathers, we need to store inputs in floating registers, etc.? int test(double flt) { int i; double half = 0.5; _asm { fld flt fsub half fistp i } return i }