Question: This is an assembly program, use MARS 4.5 to do the project!! Thanks /**************************************************918279857943875109834109283109283019283019283910283109283091283901830912839018273190283719028371098237162538176253716253871625376152doakjsdoaksjdokajsdoaksjogkfdjglkxmcv.x,cmvoesdkmvsldkmfsldkfmslkdmflskdmflskdmflksdmflsdkmfslkdmfq.w,mdqwoidjqowimxcowiqndqoiwndqoiwndoqiwdmnklasndlkasndlaksndlaskndqoiwdnqolwkdnqowkdnlasdnalskdnalskndalksndmdqwoidjqowimxcowiqndqoiwndqoiwndoqiwdmnklasndlkasndlaksndlaskndqoiwdnqolwdnalskndalksndmdqwoidjqowimxcowiqndqoiwndqoiwndoqiwdmnklasndlaskndqoiwdnqolwkdnqowkdnlasdnalskdnalskndalksnd1029381029381092830192830912830918203981203981209381029381029830192830081029381012039871209381029381029830192830129830192830**************************************************************/ ignore the part /**/ above, and do the following thanks.

This is an assembly program, use MARS 4.5 to do the project!! Thanks

/**************************************************918279857943875109834109283109283019283019283910283109283091283901830912839018273190283719028371098237162538176253716253871625376152doakjsdoaksjdokajsdoaksjogkfdjglkxmcv.x,cmvoesdkmvsldkmfsldkfmslkdmflskdmflskdmflksdmflsdkmfslkdmfq.w,mdqwoidjqowimxcowiqndqoiwndqoiwndoqiwdmnklasndlkasndlaksndlaskndqoiwdnqolwkdnqowkdnlasdnalskdnalskndalksndmdqwoidjqowimxcowiqndqoiwndqoiwndoqiwdmnklasndlkasndlaksndlaskndqoiwdnqolwdnalskndalksndmdqwoidjqowimxcowiqndqoiwndqoiwndoqiwdmnklasndlaskndqoiwdnqolwkdnqowkdnlasdnalskdnalskndalksnd1029381029381092830192830912830918203981203981209381029381029830192830081029381012039871209381029381029830192830129830192830**************************************************************/ ignore the part " /**/ "above, and do the following thanks.

Create an assembly program using RISC-V that prints the sum of an array's values. The provided file, RISCVProject.s, has the array and values already set.

You can use any text editor (like Notepad) to edit the RISCVProject.s file. Youll only need to put your statements in the main section. To test your program, use the BRISC-V Simulator.

Your program only needs to print the sum of the values of the array. No extra text output is needed.

Submit your completed RISCVProject.s using the submission link in Canvas.

Requirements

BRISC-V does not allow you to edit the assembly file you upload. To make changes, edit RISCVProject.s and re-upload the file to BRISC-V.o

Be sure to save the file prior to re-uploading.

The program must sum the array values by loading them from memory, utilizing one or more registers, and performing the necessary addition instructions.

Be sure to use comments to document your assembly code.

////////////////////////////////////////////////////////////////////

RISCVProject.s file

#Your name:

.text main:

.data .array: .word 4 .word 8 .word 15 .word 16 .word 23 .word 42

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!