Question: assembly language program Write a procedure to solve the quadratic equation Y-5X2-2X+6, where the value of X is stored in AL and the result of

 assembly language program Write a procedure to solve the quadratic equation

assembly language program

Write a procedure to solve the quadratic equation Y-5X2-2X+6, where the value of X is stored in AL and the result of the equation (Y) is returned in AX. To test this procedure, write a software driver that will send each X-input value (from the table shown below) to the procedure one at a time and check for a match with the expected Y-output value each time. If all four tests pass, display the message "procedure passes", if any one test fails the error message "procedure fails" is output. X INPUT YOUTPUT 10 100 486 49806 Write a procedure to solve the quadratic equation Y-5X2-2X+6, where the value of X is stored in AL and the result of the equation (Y) is returned in AX. To test this procedure, write a software driver that will send each X-input value (from the table shown below) to the procedure one at a time and check for a match with the expected Y-output value each time. If all four tests pass, display the message "procedure passes", if any one test fails the error message "procedure fails" is output. X INPUT YOUTPUT 10 100 486 49806

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!