This documentation is archived and is not being maintained.
Generates a Move String (rep movsb) instruction.
unsigned char* Destination,
unsigned const char* Source,
- [out] Destination
A pointer to the destination of the copy.
- [in] Source
A pointer to the source of the copy.
- [in] Count
The number of bytes to copy.
Header file <intrin.h>
The result is that the first Count bytes pointed to by Source are copied to the Destination string.
This routine is only available as an intrinsic.
// processor: x86, x64
unsigned char s1;
unsigned char s2 = "A big black dog.";
__movsb(s1, s2, 100);
printf_s("%s %s", s1, s2);
A big black dog. A big black dog.