cancel
Showing results for 
Search instead for 
Did you mean: 

Does i++ or ++i matters in loops in terms of processor cycles consumed in H7 MCUs?

pranjalk197
Associate II

Does i++ or ++i matters in loops in terms of processor cycles consumed in STM32H723 MCU?
Using CubeIDE. Optimization: O0

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Evangelist III

Look at disassembly and compare. godbolt.org

 

 

 

View solution in original post

1 REPLY 1
Pavel A.
Evangelist III

Look at disassembly and compare. godbolt.org