7 void *memmove(void *dst
, const void *src
, size_t n
)
11 #if defined(__i386__) || defined(__x86_64__)
13 asm volatile("cld; rep; movsb"
14 : "+c" (n
), "+S"(p
), "+D"(q
));
18 asm volatile("std; rep; movsb; cld"
19 : "+c" (n
), "+S"(p
), "+D"(q
));