How to move register to an array?

How to move register to an array?

I am using some inline assembly code in a C program, compiling with the Intel C++ compiler on Windows.

I need to move the contents of a register into an array.

char array[10];
char byte;
int index;

.
.
.

__asm
{

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.