Make an x86 program that inputs a value N, which is the number of terms in the summation,
and outputs the sum, the runtime, and some intermediate values as shown in the sample
execution below.
Make a driver program that calls the assembly program. As usual the driver is not part of the
solution. The driver doesn’t know the actions of the called program.
Sample execution: input number = 87
Welcome to the Harmonic Sum programmed by Barbara Boswell
Please enter the number of terms to be included in the sum: 87
The clock is now 3577685633 tics and the computation will begin
Terms completed Harmoic sum
9 2.8532423456645
18 2.9923413245356
27 3,0345464765777
36 3.3435674572108
45 3.7786547580712
54 3.8987343575689
63 3.9678342167897
72 4.0034856341213
81 4.0345546789098
87 4.0575613435376
The clock is now 3763457809 tics.
The elapsed time was 8543678 tics, which equals 6359.84 seconds.
The harmonic sum will be returned to the driver.
The driver received this number 4.0575613 and will keep it.
A zero will be returned to the operating system.