This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How Can I Force KEIL ARM Compiler PUSH LR At The Beginning Of Function

KEIL ARM Compiler usually will push LR to stack at the beginning of a function,But it will not when the function does not call any other functions. How Can I Force KEIL ARM Compiler PUSH LR At The Beginning Of Function?