Question: Generate 1 0 random numbers between 0 and 1 0 0 and store them in memory ( e . g . , 6 , 4

"Generate 10 random numbers between 0 and
100 and store them in memory (e.g.,6,4,15,23,54,32,12,34,5,7). Find
the largest and smallest among these numbers. Then, write a program that
calculates the factorial of the remainder of the division of the largest by the
smallest and stores it in the AX register.
Recommendation:
Use memory addressing and loops (Recall
previous weeks.). Perform operations with 8-bit registers due to limited
register availability. You can use JA, JL, or any other commands you prefer.
When dividing with a 16-bit register, remember that the remainder is stored in
the DX register. Those using arrays will receive an additional 10 points.

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 Programming Questions!