From: Vic Newsgroups: comp.os.msdos.djgpp Subject: ASM ??HELP! Date: Fri, 08 Aug 1997 09:43:07 -0400 Organization: Communications Accesibles Montreal Lines: 14 Message-ID: <33EB226B.14EC@cam.org> Reply-To: tudor AT cam DOT org NNTP-Posting-Host: dynamicppp-227.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I know this probably has been asked before, so, please, do *not* send me to Brennan's tutorial, cause that doesn't help me... I need a doc that explains the ASM in AT&T, not from Intel to AT&T, and especially for DJGPP. Interfacing ASM with C, etc. For example: I know that the suffixes are usually b,l and w. So what is the 's' in flds, fadds etc? And why can't I do fadds %eax,%ecx ? Does the FPU (pentium) use a different stack? If not, why can't I pop the result of fadds %eax from the stack and have to use fsts ? thanx for anything, -- --> http://www.cam.org/~tudor <-- Go ahead and build another Messiah We dig another grave...