Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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).

image text in transcribed

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):

image text in transcribed

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):

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

Students also viewed these Databases questions