public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* jmp opcode inside __asm__
@ 2001-12-20 23:48 Sanjiv Kumar Gupta
  0 siblings, 0 replies; only message in thread
From: Sanjiv Kumar Gupta @ 2001-12-20 23:48 UTC (permalink / raw)
  To: gcc-help

Hi,
I could not find a way of writing a jump insn inside an __asm__ () group if
the insns above jump are clobbering memory. e.g.

__asm__ (
	"mov #3,%0\n\t"
	----
	----
	"jmp @r2\n\t"

	:"=r(opnd1)
	:
	:
	);
in the generated assembly code gcc handles memory clobbering after the jmp
insn, which is not I intended to do.

is there any way of inserting jmp insns like above.

thanks and regards
sanjiv

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

only message in thread, other threads:[~2001-12-21  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-20 23:48 jmp opcode inside __asm__ Sanjiv Kumar Gupta

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