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.

DSP28035 SUBCUL指令



最近的一个项目用到了 SUBCUL指令,参照"TMS320C28x CPU and Instruction Set Reference Guide"6-347 中对指令SUBCUL ACC,loc32的解释:

temp(32:0) = ACC << 1 + P(31) − [loc32];

if( temp(32:0) >= 0 )

ACC = temp(31:0); P = (P << 1) + 1;

else

 ACC:P = ACC:P << 1;

有点不太明白,其中P(31) 是什么意思,是指P寄存器的第31位吗?望各位高手不吝赐教。