following is the MIPS assembly code The Lw $1,100($3) Addi $6,$2, 3000 Loop: Lw $7, 200($1) Add $5, $3, $1 Sw $5, 300($3

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

following is the MIPS assembly code The Lw $1,100($3) Addi $6,$2, 3000 Loop: Lw $7, 200($1) Add $5, $3, $1 Sw $5, 300($3

Post by answerhappygod »

following is the MIPS assembly code The
Lw $1,100($3)
Addi $6,$2, 3000
Loop: Lw $7, 200($1)
Add $5, $3, $1
Sw $5, 300($3)
Addi $6, $6, 4
Bne $5,$7, loop
a. Identify the instruction type used for each uniqueinstruction in the code.
b. If the cycles required are i.ALU-4, ii. Store- 7,iii.Branch-3, iv. Load-5, what is the average CPI?
c. What is the MIPS rate for the code working on a computer withclock rate of 1GHz?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply