本帖最后由 一只耳朵怪 于 2018-6-11 17:08 编辑
■ A branch or any instruc
tion that modifies the PC must either be outside an IT block or must be
the last instruction inside the IT block. These are:
– ADD PC, PC, Rm
– MOV PC, Rm
– B, BL, BX, BLX
– any LDM, LDR, or POP instruction that writes to the PC
这里提到的 IT block 是什么意思?把指令换成ADD PC,PC,R1;倒是可以编译通过。