Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

from the subject of computer architecture HW4 1) In the register file of toyRISC form register 1 to 8 are stored 8 numbers. Write in

from the subject of computer architecture
image text in transcribed
image text in transcribed
HW4 1) In the register file of toyRISC form register 1 to 8 are stored 8 numbers. Write in assembler the program which compute in register 0 the average value of the 8 numbers. Use the mnemonics lister in Table 4.2. Optional: test the program on the simulator provided in Appendix A. 2) Let be the following program which is designed to computes the rf[2] the average value of the numbers stored in rf[0] and rf[1] : MOVE(0,1) ADD(0,1,2) LEFTSH(0,0) Identify the error in the program. Table 4.2: Assembly language mnemonics, their meanings and binary form

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

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

More Books

Students also viewed these Databases questions

Question

=+What is the nature of the unions in the particular country?

Answered: 1 week ago