Using the flat assembler (fasm),
write an x86 assembly program that outputs five
random numbers from 1-20 with no duplicates. The random number generator (RNG)
should be seeded with the time. Also, output a random
inspirational quote (out of at least 5). You
must use the algorithm I show in my tutorial video.
Submit the
.asm source code file on Ecampus under the "Submit Homework" menu option.
Example outputs
Here are five distinct
(not duplicate) random numbers from 1-20:
8
17
9
20
1
May the fourth be with you!