Question: Need help Writing a MASM32 assembly program that will do the following: a)reads a string of 4 octal digits from 0-7 from the user b)passes

Need help Writing a MASM32 assembly program that will do the following:

a)reads a string of 4 octal digits from 0-7 from the user

b)passes the string from part a as a parameter to a PROC that will return how many digits are an exact match to number 2161, then it outputs the value to the user.

c)passes the string from part a as a parameter to a PROC that will return how many digits match anywhere in 2161, then it outputs the value to the user

d)If the PROC that counts number of exact match returns 4 in step b (all the digits are correct) the program tells the user he won and how many tries it took and terminates

otherwise the program loops back to part a

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!