X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Joel Saunders" Newsgroups: comp.os.msdos.djgpp Subject: Re: Inline assembly. Date: Wed, 30 Jan 2002 15:34:06 +0000 (UTC) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Lines: 18 Message-ID: <1e32607b67f4cd72106ddbc1261cb039.62691@mygate.mailgate.org> References: <5 DOT 0 DOT 2 DOT 1 DOT 2 DOT 20020129194221 DOT 009e8990 AT pop DOT gmx DOT net> NNTP-Posting-Host: spider-tl071.proxy.aol.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.mailgate.org 1012401708 11941 152.163.207.206 (Wed Jan 30 16:34:06 2002) X-Complaints-To: abuse AT mailgate DOT org NNTP-Posting-Date: Wed, 30 Jan 2002 15:34:06 +0000 (UTC) Injector-Info: news.mailgate.org; posting-host=spider-tl071.proxy.aol.com; posting-account=62691; posting-date=1012401708 User-Agent: Mailgate Web Server X-URL: http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/1e32607b67f4cd72106ddbc1261cb039.62691%40mygate.mailgate.org To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thank you very much, but after posting that question and studying up on AT&T assembly more, I finally got the hang of it and changed my routine to this: __asm__( "cld\n\t" "movl $_My_Name, %esi\n\t" "movl _Screen_PTR, %edi\n\t" "movl $8, %ecx\n\t" "rep\n\t" "movsb\n\t" I know it's not in extended inline assembly format, but it works. I have the spaces after my name for the color since text mode screens alternate between ASCII character and color code. Anyway, thanks again for the post though, I appreciate it. -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG