Question: Generate 1 0 random numbers between 0 and 1 0 0 and store them in memory ( e . g . , 6 , 4
"Generate random numbers between and
and store them in memory eg 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 bit registers due to limited
register availability. You can use JA JL or any other commands you prefer.
When dividing with a bit register, remember that the remainder is stored in
the DX register. Those using arrays will receive an additional points.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
