(I've had to ask this question multiple times, because everytime it's answered, it's the wrong code format. Can I please

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

(I've had to ask this question multiple times, because everytime it's answered, it's the wrong code format. Can I please

Post by answerhappygod »

(I've had to ask this question multiple times, because everytimeit's answered, it's the wrong code format. Can I please have thecode in .asm language. Not HTML, not C++, not Python, not Java, notRuby, etc. Just .asm code please. I am in desperate need ofassistance..)
Using the .WHILE construct get DWORD values from the keyboarduntil the first number entered is repeated. In other words, use thefirst number as the sentinel for the loop. Output the largestnumber entered. Do not count the sentinel as one of the numbers. Donot use a jmp statement to jump back to your whileloop.
Example:
10
5
9
4
3
10
The largest number entered was 9
Make sure you prime the loop properly.
For this question feel free to use high level decision andlooping instructions like .IF and .WHILE
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply