The following is the MIPS assembly code 58 IPS Lw $1, 100($3) 20LW $1, Addi $6,$2, 3000 Loop: Lw $7, 200($1) Add $5, $3,
Posted: Sun Jul 10, 2022 11:30 am
The following is the MIPS assembly code 58 IPS Lw $1, 100($3) 20LW $1, 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 (2) a. Identify the instruction type used for each unique instruction 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 with clock rate of 1GHz? (2)