Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Hello, I need your help!!!
I have an assignment and i have to write a code in assembly(not in c++ with assembly commands).
I have to write a procedure to solve the quadratic equation
[b]Y=5*X^2-2*X+6 [/b]where the value of X is stored in AL and the result of this equation is returned in AX. To test this procedure I have to write a software driver that will send each X-input value to the procedure one at a timeand 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 values (0, 1, 10 ,100) Y values(6, 9, 486, 49806)
Thank you in advance!!!
0 · ·