I use IAR Embedded workbench to edit C code and compile. I am very curious if I set Optimizations level at High in IAR project options, why the sequence of programming in code was changed.
I have check the reason for change. it may be related with branch speculation.
I'd like to know if I want to use Optimizations level at High, Can I set the specific code section which is not sequential changed by using special tags or options.
thanks.