Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

(Basically, you are writing a program to play the higher/lower guessing game) Clear the display. Display the string "semester" on row 4 column 0 of...

  1. (Basically, you are writing a program to play the higher/lower guessing game) 
  2. Clear the display.
  3. Display the string "semester" on row 4 column 0 of the display.
  4. Display the string "Assignment #5" on row 5, column 0 .
  5. Display name on row 6 column 0 of the display.
  6. Begin displaying the guessing game on row 8, column 0.
  7. Generate a random number between 0 and 100
  8. Prompt user to guess a number between 0 and 100.
  9. Based on your randomly generated number, and tell the user whether the real number is higher, lower, or correct. ("100 is too high" or "50 is too low")
  10. Continue to allow the user to guess until they get the correct number. Once they have the correct value, ask them if like to play again. If yes, clear the display and start over. If no, exit the program.

Sample Run

Assembler  Persons Name** i need you to the stuff under neath line**Guess a number between : too high Guess again: too low Guess again: correct! Would you like to play again? ( , )

-----------------

Need wrt carriage return to the console (this is what happens when you press "enter".)

,

Irvine Procedures:

Clrscr 

Gotoxy

WriteString 

ReadDec 

Randomize 

RandomRange 

WriteDec 

The following are some helpfup reminders to various MASM instructions we have used this semester.

CALL 

RET 

MOV 

SHL

AND 

CMP

JZ, JNZ, JG, JL, JGE, JLE

MUL

DIV 

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question