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.

What operation is faster? + - * /

Status
Not open for further replies.
Is the question related to microcontrollers or did you post in the wrong section?

In the former case, you would look for the instruction set description of your microcontroller first, does it support hardware multiply and division, and if so, which word length and what are the ececution times.

Generally speaking, add and sub are the same, multiply is slower and division much slower. Therefore, algorithm designer are trying to use multiply instead of division whereever possible.

Take a look on the basics of binary arithmetics to understand the speed differences. https://en.wikipedia.org/wiki/Binary_arithmetic
 

I'm trying to use it for microcontrollers but that's good to know about instruction set, I'm looking for spatial computation microcontroller/processing for mapping and measuring/predicting based on heading, momentum, size, etc... the faster the better
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top