Question: How to output my sum from the input x 8 6 asembly Program 2 Description Write and test a nasm program to perform the following
How to output my sum from the input x asembly
Program Description
Write and test a nasm program to perform the following tasks in the order specified:
Display the program title and programmer's name.
Get the user's name, and greet the user.
Display instructions for the user.
Repeatedly up to a prefixed MAXNUMBERS times prompt the user to enter a floating point number.
a Validate the user input to be in or inclusive
b Notify the user of any invalid floating point numbers not in the ranges specified
c Use an array to store the valid user numbers until a nonnumeric value is entered.
Calculate the average of the valid numbers and store it in a variable.
Display each on its own line:
a the count of validated numbers entered
NOTE: if no valid numbers were entered, display a special message and skip to f
b the values entered, per line, with a tab in between each
c the sum of valid numbers
d the maximum valid user value entered
e the minimum valid user value entered
f the average
g a parting message with the user's name
Note, please read carefully this version 'requires' floating point math and arrays. Use doubleprecision values.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
