From: Ron Barbosa Newsgroups: comp.os.msdos.djgpp Subject: Assembly woes... Date: Fri, 16 Oct 1998 01:49:47 -0400 Organization: MediaOne -=- Northeast Region Lines: 26 Message-ID: <3626DE7B.3CB51048@mediaone.net> NNTP-Posting-Host: rbarbosa.ne.mediaone.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.06 [en] (WinNT; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hey all...Does anyone know of a good (preferably online) tutorial for AT&T style x86 assembly? I've found a few quickies from the DJGPP site, but they're more tailored for people who know assembly, but not the AT&T syntax. My assembly is infantile-to-nonexistant. I've seen a few online mini-books and howtos but they are for Intel syntax. Any help would be great...the particular snippet of assembly I'm trying to convert/understand is listed below. If anyone out there would be kind enough to explain it to me, and give me some insight to converting to AT&T style, that'd be real cool (remember my assembly talent sucks). -- BEGIN ASSEMBLY -- les di,video_buffer mov al,BYTE PTR color mov ah,al move cx,320*200/2 rep stosw -- END ASSEMBLY -- This is a snippet from Black Art of 3d Game Programming. It's an inline routine. video_buffer is an unsigned char[] that points to a000:0000 (mode 13 video RAM), and color is an unsigned int that stores a color index (0-255). Thanks in advance... --RB