Question: Question 6 Consider the following RISC - V codeadd x 6 , x 9 , x 0 add x 7 , x 2 , x
Question Consider the following RISCV codeadd x x x add x x x jal x Lsub x x xL: lui xxABlw xx addi x x beq x x L jalr xx#Memory Address of this instruction is decimal #Memory address of this instruction is decimal What is the value of PC and register x after the execution of jal L Explain how your arrived at the answer? What is the value of PC and register x after the execution of jalr xx Explain how you arrived at the answer? What would you store in the bit immediate field in the encoding of the beq instruction above?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
