Mail Archives: djgpp/1997/06/10/03:33:06
From: | ACosand <ACosand AT prodigy DOT net>
|
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
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
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
<Remeber, the computer is your friend>
- Raw text -