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.

[参考译文] MSP430FR6877:堆栈指针拆卸行更新

Guru**** 670100 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/945735/msp430fr6877-stack-pointer-disassembly-line-update

器件型号:MSP430FR6877

当我执行某些代码更改时、反汇编代码在 main 的开头处有以下行:

007CEC 00B1 000c SUBA #0xC、SP

有人知道这意味着什么吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您可能正在将局部变量添加/删除到 main()中。 这个指令为它们腾出空间。