Question: Please do this in RISK-V not C The following assembly program have to be implemented in RISC-V simulator Your task is to develop a number

Please do this in RISK-V not C

Please do this in RISK-V not C The following assembly program have

The following assembly program have to be implemented in RISC-V simulator Your task is to develop a number guessing game in using Assembly coding language. Your program must adhere to the following: 1. Prompt the user to enter an integer number N that will serve maximum (e.g., the number that will be guessed will range from [O... NI 2. Prompt the user to enter a seed S for the randomizer and initialize the randomizer 3. Using the randomizer initialized above, generate a random number TARGET whose range is between [O... N]. You can write a random number generator function of your own. 4. Prompt the user to guess a number X 5. Determine whether X is equal to TARGET, "near" (within 10% of TARGET), or "far" (greater than 10% of TARGET) 6. Inform the user on whether their = X was correct (e.g., X = TARGET) or near, or far 7. If correct end program, If "near" or "far", go back to step 4 (prompt the user to enter a number)

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!