jmp opcode inside __asm__
Sanjiv Kumar Gupta
sanjivg@noida.hcltech.com
Thu Dec 20 23:48:00 GMT 2001
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
More information about the Gcc-help
mailing list