No subject

huayang huayang_007 at yahoo.com.cn
Wed Nov 26 18:54:32 PST 2003


hi,
	static inline char * strcpy(char * dest,const char *src)
{
int d0, d1, d2;
__asm__ __volatile__(
	"1:\tlodsb\n\t"
	"stosb\n\t"
	"testb %%al,%%al\n\t"
	"jne 1b"
	: "=&S" (d0), "=&D" (d1), "=&a" (d2)
	:"0" (src),"1" (dest) : "memory");
return dest;
}
Here " & ", in " =&S" is what meaning. 



More information about the freebsd-newbies mailing list