public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* extended asm
@ 2004-07-24  9:30 Ankit Jain
  0 siblings, 0 replies; only message in thread
From: Ankit Jain @ 2004-07-24  9:30 UTC (permalink / raw)
  To: gcc

 asm ("leal (%1,%1,4), %0"
: "=r" (x)
: "0" (x) );

till now i was in kowledge that there is somewhat
input and output operand. but i am not able to
understand what this could mean?


asm("movb %3,%0":"=r"(x),"=r"(y):"r"(a),"r"(b));
now what should technically happen is the value in b
should move to x but the fun part is y is also
initialised by same value. why is it so and from where
this value comes from


ankit

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-24  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-24  9:30 extended asm Ankit Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).