Question: MIPS (if statement ans loops). One of each (array, string, and char) is not commented out and code should be able to anaylize array and

MIPS (if statement ans loops). One of each (array, string, and char) is not commented out and code should be able to anaylize array and display number of positive values, zeros, and negative values. MIPS (if statement ans loops). One of each (array, string, and char)

.data arri: .word 7,6,5,4,34,23,12,89,500 #arrl: . word -1,-10,-2,-20,-3,-30,-4,-40, -5 #arri: . word 0,0,0,0,0,0,0,0,0 #arri: word 1,2,3,0,0,0,-3,-4,-5 Strl: asciiz "widget 300" #strl: .asciiz "100 widgets" #strl: asciiz "box+=20;" #strl: asciiz "*54car" chars: asciiz "aaeeiouu" #chars: .asciiz "XXX TUWPz" #chars: .asciiz "\/?:: ****@()" #chars: asciiz "asxxez*ioco+lu" .text ##### *************************** # Parts Analyze the array arrl by displaying # The number of positive values, zero values # and negative values. The array has 9 values # (for loop structure works) # Add your code in the space below this line nop ##*##*## end 3: Place code above this line li $v0, 10 # ends the program syscall

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!