Question
Create a procedure that generates a random string containing all lowercase letters. The length of the string should be specified by a symbolic constant named
Create a procedure that generates a random string containing all lowercase letters. The length of the string should be specified by a symbolic constant named RANDOM_STRING_LENGTH (use EQU or = to define). When calling the procedure, pass a pointer using EAX to the start of the array of bytes that will hold the random string.
Write, debug, and test a test program that calls your procedure 10 times and displays the strings in the console window.
Make sure you use the symbolic constant to declare and reserve the memory needed to hold the string (byte array) and make sure there is ample room in the array to add a terminating null (0).
Submit your code (.asm file)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started