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