Please Write Mips Program Read Value Nonnegative Integer Ascii String Base 64 Print Decima Q37104952

Please write a MIPS program that will read in a value(nonnegative integer but as an ASCII string) in base 64 and printout the decimal value; you must implement a function (which acceptsan address for a string as the parameter, and returns the value)and call the function from the main program. The valid digits forthe values will be in set [A..Z, a…z, 0…9, +, /] (which are mappedto 0 to 63 in the given order) and ‘’ and ‘n’ indicate the endof the string; any other character is considered to be invalid. Youcan assume that no overflow will occur.

An example run

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.