delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/12/03:48:15

From: Vic <tudor AT cam DOT org>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019