Question: Write out code in assembly language Generate 10 random numbers for the function, () = ^2 - 2 where x is in the range of
Write out code in assembly language
Generate 10 random numbers for the function, () = ^2 - 2 where x is in the range of [-5, 5].
Output each value of () to the screen, one per line and at the end print out the sum of all 10 randomly generated values.
Output format: Sum of all 10 random values is #s where #s is the sum of all random values of f(x) in [-5,5]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
