Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Help me on equation in assembler

Status
Not open for further replies.

Vlad.

Full Member level 3
Joined
Jun 4, 2012
Messages
177
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
Bucharest/Romania
Activity points
2,545
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
 

bassa

Super Moderator
Staff member
Joined
Jul 15, 2007
Messages
1,811
Helped
191
Reputation
402
Reaction score
153
Trophy points
1,353
Location
Sri Lanka
Activity points
10,191
Can you specify the target whether the 8051 or PIC or x86,
 

bigdogguru

Administrator
Joined
Mar 12, 2010
Messages
9,831
Helped
2,348
Reputation
4,690
Reaction score
2,274
Trophy points
1,413
Location
Southwest, USA
Activity points
62,504
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:



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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top