Question: Write, and test using QEMU, a RISC - V assembly procedure that takes as its parameter the starting address of a ( zero - terminated
Write, and test using QEMU, a RISCV assembly procedure that takes as its parameter
the starting address of a zeroterminated string. Your procedure should reverse the string
inplace ie do not return a different string; you should modify the contents of the original
string For example, cmpt should be converted to tpmc
Write a main program to test your procedure. Your main program should input a string
from the user you can assume that the string will be at most characters, not including
the zero byte delimiter Your program should then call the procedure to reverse the string,
output the reversed string, and finally terminate. Your code must use the standard
conventions covered in class for passing parameters and returning results
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
