#define ASMSTART __asm__ __volatile__ (
#define ASMEND );
#define _(x...) #x"\n\t"
int foo()
{
int aa;
ASMSTART
_( mov r1, r12 )
_( clr %0 )
: "=r" (aa)
ASMEND
return aa;
}
--
/********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314
********************************************************************/