调用子程序,需要消耗多少个指令周期,在子程序内部定义临时变量,和使用形参传递那种方式占用的时间长,
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
建议楼主在程序上自己做个测试:
关于调用子程序,在程序入口处和出口处分别用Profile(Option下的Timer)打开,计数有多少个Cycle。
或者翻转电平来测试一下。