Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

.image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Second International Conference Acids Hue City Vietnam March 2010 Proceedings Part 1 Lnai 5990

Authors: Manh Thanh Le ,Jerzy Swiatek ,Ngoc Thanh Nguyen

2010th Edition

3642121446, 978-3642121449

More Books

Students also viewed these Databases questions

Question

b. Explain how you initially felt about the communication.

Answered: 1 week ago

Question

3. Identify the methods used within each of the three approaches.

Answered: 1 week ago

Question

a. When did your ancestors come to the United States?

Answered: 1 week ago