Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given the following assembly program in GPR architecture: loads #10, R1; loads 10 in R1 moves R1, R2; moves (copies) content of R1 into R2

image text in transcribed

Given the following assembly program in GPR architecture: loads #10, R1; loads 10 in R1 moves R1, R2; moves (copies) content of R1 into R2 adds R1, R2, R3; adds R1 to R2 and puts result in R3 mul #20, R3, R4; multiplies R3 by 20 and puts result in R4 move R4, M[1000]; moves (copies) content of R1 into Memory at address 1000 a) For every instruction in the above program, draw, as a flow chart, the micro step execution cycle. b) Assuming each instruction requires four bytes to be encoded, calculate the total memory needed to store the program. c) Assuming an execution on a 2 GHz CPU. where every step requires a number of clock cycles (cc) as shown below, calculate the execution time for every instruction, then for the whole program

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

More Books

Students also viewed these Databases questions

Question

8. Measure the effectiveness of the succession planning process.

Answered: 1 week ago