Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me on equation in assembler

Status
Not open for further replies.

Vlad.

Full Member level 3
Joined
Jun 4, 2012
Messages
179
Helped
3
Reputation
6
Reaction score
4
Trophy points
1,298
Location
Bucharest/Romania
Activity points
2,568
Hey, can somenbody help with a program in assembler to calculate ecuation 2(ax2+bx+c=0) ? and i want the program to read values of a,b,c from keyboard.thanks
 

Can you specify the target whether the 8051 or PIC or x86,
 

Are you attempting to solve for the roots of a Quadratic equation?

Of the form:

ax² + bx + c = 0

If so, you will need to employ the Quadratic Formula or a similar numerical technique of root calculation:

8958962500_1353820771.png


Quadratic equation

Root-finding algorithm

Newton's method


The best approach to solve for the roots depends largely on the target processor/microcontroller.

Therefore answering Bassa's question is important.

BigDog
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top