Question: Write a program in assembly langauge, MASM, using the irvine.inc library. The program sould be able to run in Microsoft Visual Studio. The program will
Write a program in assembly langauge, MASM, using the irvine.inc library. The program sould be able to run in Microsoft Visual Studio. The program will include and test a procedure named Strfind that searches for the first matching occurrence of a userinput source string inside a userinput target string and returns the matching position of that source string inside of the target string. The input parameters should be a pointer to the source string and a point to the target string. If a match is found, the procedure sets the Zero flag and EAX points to the matching position in the target string. Otherwise, the Zero flag is clear and EAX is undefined.
Sample run picture is shown below.
Ensure the program can take uppercase letters as the user's input for the continue prompt.
If the user's choice is not Y y N or n prompt an error message and ask the user to reenter their choice.
Please reference the sample output image for more information.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
