Question: The RISCV assembly program should take the an intial value in register x 2 and store its thermometer code in memory address 0 x 8
The RISCV assembly program should take the an intial value in register x and store its thermometer code in memory address x Refer to the section below for thermometer code.
Please use the register file's initial values for testing as the autograder will load in random values into the respective register file and read out corresponding memory address values for verification.
Your assembly code must be under lines. You should not have intructions that store initial values into register files. Any program longer than lines will recieve points
Suggestions: The following steps are recommended to complete the assignment.
Use breakpoints to help in debugging.
Use single step mode as the final resort in debugging. It is time consuming but gives you the most information.
Thermometer Coding: Similiar to OneHot Encoding learned in ECE but all the digits before the leading is also Any natural number n can be unary encoded with n digits. See below for examples.
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
