Question: HELP, I NEED THIS WRITTEN IN MIPS! Task 1: String copy Write a MIPS program to allow users to enter a string, which might be
HELP, I NEED THIS WRITTEN IN MIPS!

Task 1: String copy Write a MIPS program to allow users to enter a string, which might be up to 64 byte long. via I/O window, and is saved to array X. The inputted string is then copied array X to array Y You can manipulate the following procedure strcpy ust st or tem # save $s0 add Sso, Szer next iteration of loop sp # restor@ $av addi $sp, Ssp, 4 pop 1 item from stack r Sra and return Note that the procedure assumes address of x is in Sa0, and y in Sal Your program should loop so that users can enter a new string without re-assembling the program. In your report, you should show the memory section containing X and Y. Clearly comment your code as in the given procedure Task 1: String copy Write a MIPS program to allow users to enter a string, which might be up to 64 byte long. via I/O window, and is saved to array X. The inputted string is then copied array X to array Y You can manipulate the following procedure strcpy ust st or tem # save $s0 add Sso, Szer next iteration of loop sp # restor@ $av addi $sp, Ssp, 4 pop 1 item from stack r Sra and return Note that the procedure assumes address of x is in Sa0, and y in Sal Your program should loop so that users can enter a new string without re-assembling the program. In your report, you should show the memory section containing X and Y. Clearly comment your code as in the given procedure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
