Question: Using RISC-V simulator called Venus: . i think image is clear? confused? Part A (Warm Up Exercise) - 50 points Skeleton code for this portion

Using RISC-V simulator called Venus:

.Using RISC-V simulator called Venus: . i think image is clear? confused?

Part A (Warm Up Exercise) - 50 points Skeleton code for this

i think image is clear? confused?

Part A (Warm Up Exercise) - 50 points Skeleton code for this portion of the lab can be found in lab1a.skel. In part A you write a RISC-V assembly language program that prints the contents of an array that are greater than a given constant. The output should display each integer that meets the above condition on a new line. Note: Though this exercise seems quite simple, it is the building block of a powerful paradigm in high performance computing called map-reduce. You are basically implementing the map operation which involves iterating over a list and extracting values that satisfy a particular condition or are the result of applying a particular function in this example the function is "greater than k'). What do you have to do? Given an array of 10 numbers loop through them all For each number check if it is greater than a constant of your choice. The constant can be changed by changing the value K in the skeleton file. Print out the results one element per line. Download the skeleton file called lab1a.skel and add your code to it. Rename your file to karbosiD>laba. S where kertos ID is the ID you use to login to your UC Davis email or MyucDavis account. Comment your code explaining what the equivalent C operation would be i.e. be to, t1, outsideloor. Hifto laba. S where kertos ID is the ID you use to login to your UC Davis email or MyucDavis account. Comment your code explaining what the equivalent C operation would be i.e. be to, t1, outsideloor. Hifto

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!