From: ACosand Newsgroups: comp.os.msdos.djgpp Subject: Inline Assembly help Date: Mon, 09 Jun 1997 20:05:41 -0400 Organization: Prodigy Internet Lines: 18 Message-ID: <339C9A55.406F@prodigy.net> Reply-To: ACosand AT prodigy DOT net NNTP-Posting-Host: 207.115.6.85 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 Does anyone know where I can get some samples of inline assembly in djgpp/gcc? I suppose my biggest question at this point is the ordering of opperands in inline assembly. asm( "mov eax, a" ) ; or asm( "mov a, eax" ) ; asm( "shrd eax, edx, 16" ); or asm( "shrd 16, eax, edx" ); or etc. Thanks, Aaron Cosand