I need to force IAR tp use certain Cortex-M0+ instruction in some part of my code while codding with C.
Please do not offer pure asm functions or inline asm etc.
I have managed to do this for 51 instruction but could not for ; ADR, BLX, RSBS, SBCS, SXTH instructions.
Optimization is disabled for this function (#pragma optimization=none)
I have tried many things by considering instruction behaviour. But IAR preferred to same function with different instructions.
Did anyone else struggle with such a unnecessary thing before or has anyone an idea?