Question: Using what you learned about RARS in class this week, provide RISC-V Code to take in 5 chars separately, and print out those 5 chars

Using what you learned about RARS in class this week, provide RISC-V Code to take in 5 chars separately, and print out those 5 chars using a string ecall. Make sure you use RISC-V macros to make your code look cleaner and make it easier to debug. You can reuse the example macros provided to you in class and also available in Canvas schedule. Submit your .s file. Example output: Hello, please enter 5 chars: a b c d e Printed string: abcde

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!