Question: write, and test using spim, an assembly language program that inputs two character strings from the user, each with at most 20 characters, and then

write, and test using spim, an assembly language program that inputs two character strings from the user, each with at most 20 characters, and then output 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.)

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!