cancel
Showing results for 
Search instead for 
Did you mean: 

hi all, i want to know the number of cycles for addition, float addition, shift, multiplication and float multiplication of STM32F103REY help me please

Ssame.1
Associate
 
3 REPLIES 3
TDK
Guru

Cycles per instruction for Cortex-M3 can be seen here:

https://developer.arm.com/documentation/ddi0337/h/programmers-model/instruction-set-summary/cortex-m3-instructions

If you feel a post has answered your question, please click "Accept as Solution".

Sounds like a home work question.

F​or the float math it is gpong to be highly variable, depending on the numbers and the math library.

You can get the MCU to count cycles using DWT_CYCCNT, Google It​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

thenkyou sir