For the following C statement,A = C[0] << 4;write a minimal sequence of RISC-V assembly instructions that performs the identical operation. Assume x6 = A, and x17 is the base address of
C:
选项:
A:ld x17, 0(x6)slli x6, x6, 4;
B:ld x6, 0(x17)slli x6, x6, 4;
C:sd x17, 0(x6)slli x6, x6, 4;
D:sd x6, 0(x17)slli x6, x6, 4
发布时间:2024-05-06 22:30:42