警告[Og014]:内联汇编中的警告:"SP 作为目标寄存器是不可预测的"
您好!
我在引导加载程序上工作,没有 RTOS,C1312R SIPx,当我"m using the line:asm (" MOV SP,#0x0 ");我收到"SP as destination register is unreflexible"的扭曲
你有一个线索,为什么它发生了 ?
我的设置:IAR 8.50.9,SDK 7.10.00.63
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.
警告[Og014]:内联汇编中的警告:"SP 作为目标寄存器是不可预测的"
您好!
我在引导加载程序上工作,没有 RTOS,C1312R SIPx,当我"m using the line:asm (" MOV SP,#0x0 ");我收到"SP as destination register is unreflexible"的扭曲
你有一个线索,为什么它发生了 ?
我的设置:IAR 8.50.9,SDK 7.10.00.63
您好、Niv、
这似乎在 IAR 的发行说明中提到过。
https://updates.iar.com/filestore/standard/001/001/123/arm/doc/infocenter/aarm.ENU.html
似乎是特定于 ARM 处理器的。
此致、
SID
您正在尝试将立即值移到栈指针寄存器中。 执行此操作时、设备实现的 ARMv7-M 指令集似乎会抛出此警告。
这意味着、如果你将0移动到你的堆栈指针寄存器、你将获得这个警告。 没有解决办法。
此致、
SID