Home / Expert Answers / Computer Science / translate-the-following-instructions-from-risc-v-to-hexadecimal-note-that-we-use-integer-values-fo-pa900

(Solved): Translate the following instructions from RISC-V to hexadecimal. Note that we use integer values fo ...



student submitted image, transcription available belowstudent submitted image, transcription available below
Translate the following instructions from RISC-V to hexadecimal. Note that we use integer values for branches and jumps, instead of labels (this is permitted by the ISA, but normally discouraged since it makes debugging incredibly hard). Q1.1: Iw s2 44(s6) Q1.2: srl s9 s3 a1 Q1.3: bgeu a0 t5 20 Translate the following instructions from hexadecimal to RISC-V. Follow these conventions when writing your answer: Do not include commas in your answer. For immediates, submit a number in decimal. We have guaranteed that all immediates have absolute value 100 or less. As with the above, use integer values for branches and jumps. Use the register names ( , etc.) for all registers except register (which should use ). Write the instruction without any extra spaces in between, similar to how the instructions are written in the previous question. Q2.2: 0x0001C217 \begin{tabular}{|l|l|} \hline auipc s0 0x1C2 & \\ \hline \end{tabular} Q2.3: 0xFA7FFC6F \begin{tabular}{|l|l|} \hline jal & \\ \hline \end{tabular}


We have an Answer from Expert

View Expert Answer

Expert Answer



Q2.1: sw x14 -100(x13) 0xFD2B8C23

sw x14 -100(x13) is the instruction.

Q2.2: s0 auipc 0x1C2 0x0001C217
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe