Question: please use the same languge as in this photo Task #2 Sample Run of the task Write a MIPS assembly program that reads a string

 please use the same languge as in this photo Task #2
please use the same languge as in this photo
Sample Run of the task Write a MIPS assembly program that reads

Task #2 Sample Run of the task Write a MIPS assembly program that reads a string str (one character at a time) from the user using Memory Mapped I/O (DO NOT use syscall). Loop over each character and flip its case (i.e. the uppercase should be small case and vice versa). Finally, print the modified String (one character at a time) again using Memory Mapped I/O (DO NOT use syscall). Hello, World! HELLO, WORLD! 11 .data prompt1: .asciiz " Enter Divident(x): prompt2: asciiz " Enter Divisor(y) :" prompt3: .asciiz " The result of x/y is :" globl main .text main: li $v0,4 la $a0, prompt1 #it will print prompt syscall li $v0,5 syscall #ask user input move $t1,$v0 #save a to t1 askAgain: li $v0,4

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!