From: "M. Schulter" Newsgroups: comp.os.msdos.djgpp Subject: Re: [q] AT&T Assember : help me? Date: 22 Dec 1997 01:42:50 GMT Organization: Value Net Internetwork Services Inc. Lines: 51 Message-ID: <67kgiq$2mb$1@vnetnews.value.net> References: <349d4367 DOT 8932233 AT news DOT btinternet DOT com> NNTP-Posting-Host: value.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Thomas Harte wrote: : Hi, : I know Z80 assembler, and I have some polygon filling routines : which I would like to convert the inner loops of to ASM. I can do this : very easily to Z80 assembler, but not to AT&T. So what I am looking for : is a quick reference to the AT&T command set . . . anyone know one? : -Thomas As someone learning some AT&T syntax as my first assembler language, I would suggest seeking out two kinds of resources: (1) Documentation specific to AT&T syntax, including the DJGPP FAQ, Section 17, and the tutorial by Brennan there recommended; the documentation on the GNU assembler (GAS), as.exe: info as machine i386 as well as the DJGPP Users' Guide now in progress at DJ Delorie's site, and a tutorial in progress by Jeff Weeks; and (2) General references about Intel i386 assembler, including an Intel Programmer's manual for the i386 available on the Web and various lists of the i386 and floating-point commands. One advantage as well as complication of learning assembler with GAS is that you start out with a 32-bit flat memory model, really a benefit for lots of things but also a complication to the extent that some novice programs relying upon real mode DOS won't work. If you search out http://www.dejanews.com for posts in this newsgroup regarding "hello.s" and "GAS" maybe about two months ago, you'll see some examples of standalone GAS programs, including a real gem by Charles W. Sandmann, also the incomparable author of CWSDPMI. For examples of inline assembler, the Brennan tutorial could be very helpful, as is noted in the DJGPP FAQ; it got me started even though I had never written assembler before. Most respectfully, Margo Schulter mschulter AT value DOT net