1. Engineering
  2. Computer Science
  3. write and test using spim and mips an assembly language...

Question: write and test using spim and mips an assembly language...

Question details

Write, and test using spim and MIPS, an assembly language program that inputs two character strings from the user, each with at most 20 characters, and then outputs the number of unique characters that are found in both strings (don’t count the newline character or the zero terminator). For example, with the input strings “monday morning” and “coffee spills”, your program should output 3 (for the blank character, “o”, and “i”). (Note: an efficient solution is not required, your program can use any algorithm that works.)

Please comment the code and explain what is happening.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution