Question: An array of double-precision (64-bit) floating-point numbers is located in the memory starting at address 1000. It contains 40 elements.
Program: Write a code that finds the average of all the elements and puts the result in register F31.
You have to satisfy the requirements specific in the instruction.