Question: Objective(s) Become familiar with using I/O devices and Emulation Kit. Lab Work Evaluation Write an assembly program which is able to play a number guess

Objective(s) Become familiar with using I/O devices and Emulation Kit.

Lab Work Evaluation Write an assembly program which is able to play a number guess game. You must do all your work in an infinite loop.

1. First you must get a number between 0-9 from user via emulator screen. If the input key is not a number then program must ask a number again (This process does not increase the total guess count).

Objective(s) Become familiar with using I/O devices and Emulation Kit. Lab Work

2. Then the program must create a random number between 0-9 and display the numbers on Seven Segment Display Output as (U for User and C for Computer):

Evaluation Write an assembly program which is able to play a number

Hint: You can check INT 1Ah / AH = 00h to produce a random number.

3. At each guess (iteration), the program must print the number of correct guesses and total guesses on ASCII LCD Output (Guess counts are infinite, so the program must also be able print any number):

guess game. You must do all your work in an infinite loop.

P.S: It must be Emu86 language, please dont post C answers.

P.S: For the project, it has to be used Emulation Kit's Seven Segment Display Output and please dont post unnecassary things.

Se emulator screen (80x25 chars) Enter a number between 0-9: Enter a number between 0-9: Enter a number between 0-9: 8 Enter a number between 0-9: 6 Enter a number between 0-9: 2 Enter a number between 0-9: 0 Enter a number between 0-9: Enter a number between 0-9: a Seven Segment Display Output (2030h ... 2037h) Clear All 8-9.8.-9 Set All 2030h 2031h 2032 2033h 2034h 2035 2030h 2037h

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!