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?
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
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am