Computer science

 

Assume: int A[100]; base address (A, or &A[0]) is in x23, int is 4 bytes

 

Q1: “lw x6, 16(x23)” will load A[?] to x6? Please explain.

Q2: Please write the RISC-V instruction that can “store a word from x7 to A[8]”?

This question has been answered.

Get Answer