程序代写代做代考 ans

ans

lw $t0, 0($a0)
add $t9, $zero, 53
mult $t9, $t0
mflo $t0
lw $t1, 4($a0)
lw $t1, 0($t1)
addi $t1, $t1, -9
addi $t9, $zero, 7
mult $t9, $t1
mflo $t1
add $t0, $t0, $t1
sw $t0, 0($a0)

Assume there is no forwarding in this pipelined processor; add NOP instruc ons to eliminate any hazards.

LW,ADD,NOP,NOP,MULT,MFLO,LW,LW,NOP,NOP,ADDI,ADDI,NOP,MULT,MFLO,
NOP,NOP,ADD,NOP,NOP,SW

Assume there is forwarding in this pipelined processor; add NOP instruc ons to eliminiate any hazards.

LW,ADD,MULT,MFLO,LW,LW,NOP,ADDI,ADDI,MULT,MFLO,ADD,SW

Assignment8

1

2

3

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant

vagrant