Question: MIPS (if statement ans loops). One of each (array, string, and char) is not commented out and code should be able to display for one
.data arrl: word 7,6,5,4,34,23,12,89,500 #arrl: word -1,-10,-2, -20,-3,-30,-4,-40,-5 #arrl: .word 0,0,0,0,0,0,0,0,0 #arrl: word 1,2,3,0,0,0,-3, -4,-5 strl: .asciiz "widget 300" #strl: asciiz "100 widgets" #stri: .asciiz "box+=20;" #strl: asciiz "*54car** chars: asciiz "aaeeiouu" #chars: .asciiz "xxx mmmwpz" #chars: asciiz "\/?;:*$*#00)". #chars: asciiz "ax gez\ioco+lu*" text ####### # #################### ####### # Partl The unformatted string strl contains a # word and a number in no particular order. # Extract each and display them to the output # Identify them as the word or the number. # Ignore any non-letter or non-digit chararacters # Display the number as a string (don't convert to # a value). # Add your code in the space below this line nop ##*#***# end 1: Place code above this line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
