Question: Create a procedure that fills an array of doublewords with N random integers, making sure the values fall within the range j...k, inclusive. When calling
Create a procedure that fills an array of doublewords with N random integers, making sure the values fall within the range j...k, inclusive. When calling the procedure, pass a pointer to the array that will hold the data, pass N, and pass the values of j and k. Preserve all register values between calls to the procedure. Write a test program that calls the procedure twice, using different values for j and k. Verify your results using a debugger.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
