7368 The following is the MIPS assembly code Lw 2 CW S1, 100 Addi $6,$2, 3000 Loop: Lw $7, 200(S1) Add $5, $3, $1 Sw $5,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
7368 The following is the MIPS assembly code Lw 2 CW S1, 100 Addi $6,$2, 3000 Loop: Lw $7, 200(S1) Add $5, $3, $1 Sw $5,
7368 The following is the MIPS assembly code Lw 2 CW S1, 100 Addi $6,$2, 3000 Loop: Lw $7, 200(S1) Add $5, $3, $1 Sw $5,300($3) Addi $6, $6, 4 Bne $5,$7, loop a. Identify the instruction type used for each unique instruction in the code. (2) b. If the cycles required are i.ALU-4, ii. Store-7, iii.Branch-3, iv. Load-5, what is the average CPI? (3) c. What is the MIPS rate for the code working on a computer with clock rate of 1GHz? (2)