Question: ## complete the program below to print the array of numbers on the screen ## complete the program in the places where WRITE CODE is

 ## complete the program below to print the array of numbers

## complete the program below to print the array of numbers on the screen ## complete the program in the places where "WRITE CODE" is mentioned ## 4 lines of code need to be written to complete the program .data list1: .word 10, 22, 45, 80, 60 size: .word 5 str: asciiz "Array in MIPS " .text main: la Sal, str li Svo, 4 #print string # #WRITE CODE HERE la lw Sti, listi St3, size ##print numbers print_list: .data space: .asciiz " " #new-line between numbers . text li St2, 0#loop counter printing_loop: beg are printed St2, $t3, exit #check if all numbers in the array **WRITE CODE HERE li $v0, 1 syscall la Sa0, space li Sv0, 4 syscall addi St2, St2, 1 **WRITE CODE HERE ##WRITE CODE HERE exit: $v0, 10 li syscali # END OF PROGRAM

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!