translate following C code piece to RISC-V assembly code.
- Assume the base address for B and B2 are in register x22 and x23.
i is stored in register x5; - You just need to translate the for loop part.
int B[10], B2[10]; // int type, 4 bytes
int i = 0;
for (i = 0; i < 10; i++)
B2[i] = B[i];