CODE HAS TO BE IN ASSEMBLY LANGUAGE EMU 8086 Task#3 Guessing Game 1. Prompt User to Enter 1st (1-digit) number 2. Clear

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

CODE HAS TO BE IN ASSEMBLY LANGUAGE EMU 8086 Task#3 Guessing Game 1. Prompt User to Enter 1st (1-digit) number 2. Clear

Post by answerhappygod »

CODE HAS TO BE IN ASSEMBLY LANGUAGE EMU
8086
Task#3 Guessing Game
1. Prompt User to Enter 1st (1-digit) number
2. Clear the command screen clrscr command (scroll up/down
window)
3. Prompt User to Enter 2nd (1-digit) number
4. Using conditions and iterations guess if 1st character is
equal to 2nd character
5. Output the result on console
Note: You may use these conditional jumps JE(jump equal),
JG(jump greater), JL(jump low)
Output: Enter 1st character: 7
Enter 2nd character: 5
1st number is lesser than 2nd number.
Guess again:
Enter 2nd character: 9
1st number is greater than 2nd number
Guess again:
Enter 2nd character: 7
Number is found
I NEED THE ASSEMBLY LANGUAGE CODE AND A SCREENSHOT
PROVING THAT THE CODE WORKS
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply