Page 1 of 1

Writes a MIPS assembly language program that reads an input string, reverses the order of its characters in memory, and

Posted: Sat Mar 19, 2022 6:09 pm
by answerhappygod
Writes A Mips Assembly Language Program That Reads An Input String Reverses The Order Of Its Characters In Memory And 1
Writes A Mips Assembly Language Program That Reads An Input String Reverses The Order Of Its Characters In Memory And 1 (61.6 KiB) Viewed 29 times
Writes a MIPS assembly language program that reads an input string, reverses the order of its characters in memory, and displays the reversed string on the screen. Allocate space for 20 bytes in the data segment (18 characters + newline char + null char). Traverse the string character-by-character until your reach the newline or null character, whichever comes first. Here is a sample run: Enter a string (at most 18 characters): Hello The reversed string is: olleH