public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Inline assembly
@ 2005-06-06 12:53 Rayappan.External
  2005-06-06 15:33 ` Nathan Sidwell
  0 siblings, 1 reply; 8+ messages in thread
From: Rayappan.External @ 2005-06-06 12:53 UTC (permalink / raw)
  To: gcc-help

Hi,

This kind of inline assembly is given in the GCC Test suits

asm ("" : "=r" (tmp) : "0" (tmp));

As per my understanding the input and output remains in the same
register.But there is no instruction in the first double coats("").

The Question is 

What will be the value of r(tmp) after this instruction.Whether it is
equivalent to

ld r2,#0x0

Thanks in advance,
Chris

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Inline assembly
@ 2000-01-05  1:07 Harald Dankworth
  2000-01-05 10:13 ` d_cary
  2000-04-01  0:00 ` Harald Dankworth
  0 siblings, 2 replies; 8+ messages in thread
From: Harald Dankworth @ 2000-01-05  1:07 UTC (permalink / raw)
  To: help-gcc

Is there any documentation on inline assembly syntax for gcc?

regards,
Harald Dankworth

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-06-06 15:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 12:53 Inline assembly Rayappan.External
2005-06-06 15:33 ` Nathan Sidwell
  -- strict thread matches above, loose matches on Subject: below --
2000-01-05  1:07 Harald Dankworth
2000-01-05 10:13 ` d_cary
2000-01-07  6:31   ` Harald Dankworth
2000-04-01  0:00     ` Harald Dankworth
2000-04-01  0:00   ` d_cary
2000-04-01  0:00 ` Harald Dankworth

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).