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.

TMS320F280025C: 多周期指令ADDF32进行编程时,发现指令执行错误的问题。

Part Number: TMS320F280025C


问题1:不相干的整数除法指令为什么不能放在FPU指令的延迟槽中,编译会报错。编程指令如下所示:

ADDF32 R7H,R6H,R5H

ABSI32DIV32 R2H,R1H,R3H

问题2:加一个NOP执行为什么两条指令的结果会相互影响,将加法指令写R7H的值写入到整数除法指令要写的R1H中。编程指令如下所示:

ADDF32 R7H,R6H,R5H

NOP

ABSI32DIV32 R2H,R1H,R3H