Question: Comment every line of code. You are tasked to allow the user to enter a string consisting of zero or more Alphanumeric Words. Your program

Comment every line of code.
You are tasked to allow the user to enter a string consisting of zero or more Alphanumeric Words. Your program should replace Alphanumeric Words that are valid hexadecimal values with their decimal ere: ttnews sftpedia More formally, write MIPS assembly code in MARS to allow the user to enter a line of text. The text entered will be a string of Alphanumeric Words without punctuation, except for spaces between any adjacent Alphanumeric Words and a single period as the final character. Alphanumeric Words, if present, consist of only Uppercase Letters (A,B,C, , Z} and/or Numeric Digits {0, 1,2, , 9). If and only if an entire Alphanumeric Word is a valid hexadecimal value, then it will be replaced with its equivalent decimal value. The program shall output the text with the corresponding substitutions to the console. You are tasked to allow the user to enter a string consisting of zero or more Alphanumeric Words. Your program should replace Alphanumeric Words that are valid hexadecimal values with their decimal ere: ttnews sftpedia More formally, write MIPS assembly code in MARS to allow the user to enter a line of text. The text entered will be a string of Alphanumeric Words without punctuation, except for spaces between any adjacent Alphanumeric Words and a single period as the final character. Alphanumeric Words, if present, consist of only Uppercase Letters (A,B,C, , Z} and/or Numeric Digits {0, 1,2, , 9). If and only if an entire Alphanumeric Word is a valid hexadecimal value, then it will be replaced with its equivalent decimal value. The program shall output the text with the corresponding substitutions to the console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
