Question: 11:48 App Store /while loogp whiletop: Moad the register li t8,0 /branch instraction bne Sto,18,done Wadd thes1 and s0 values add Ss1,Ss1,St0 addi $t2, St2.4
11:48 App Store /while loogp whiletop: Moad the register li t8,0 /branch instraction bne Sto,18,done Wadd thes1 and s0 values add Ss1,Ss1,St0 addi $t2, St2.4 Moad the 12 register iwhiletop done Moad the register li St1,a1 i S12,1 Wfor loop fortop: /branch instruction bgtz St1,done addt1 and t2 register add St1,Stl,S12 add Svo,SvO,Sti jump instruction fortep done n) Moad the register li Sto.A i St1.1 for loop fortop: /branch instruction bgtz Sto,done Wadd the t0 andtl values add Sto,Sio,stl 11:48 App Store /while loogp whiletop: Moad the register li t8,0 /branch instraction bne Sto,18,done Wadd thes1 and s0 values add Ss1,Ss1,St0 addi $t2, St2.4 Moad the 12 register iwhiletop done Moad the register li St1,a1 i S12,1 Wfor loop fortop: /branch instruction bgtz St1,done addt1 and t2 register add St1,Stl,S12 add Svo,SvO,Sti jump instruction fortep done n) Moad the register li Sto.A i St1.1 for loop fortop: /branch instruction bgtz Sto,done Wadd the t0 andtl values add Sto,Sio,stl
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
