TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F2812 汇编指令CMP64 ACC:P具体是啥意思 有什么作用呢???

The 64-bit content of the combined ACC:P registers is compared against
zero and the flags are set appropriately:
if((V = 1) & (ACC(bit 31) = 1))
N = 0;
else
N = 1;
if((V = 1) & (ACC(bit 31) = 0))
N = 1;
else
N = 0;
if(ACC:P = 0x8000 0000 0000 0000)
Z = 1;
else
Z = 0;
V = 0;
Note: This operation should be used as follows:
CMP64 ACC:P ; Clear V flag
perform 64-bit operation
CMP64 ACC:P ; Set Z,N flags, V=0
conditionally branch

liu liu10:

回复 mangui zhang:

你好!麻烦再问你一个问题哈!我现在是两块F2812通过Mcbsp进行传数,可不可以其中一块DSP的mcbsp初始化发送4个字,然后另一块DSP进入mcbsp接收中断时通过判断接收的字的个数来进入不同的处理函数?比如接收2个字进入函数1,接收4个字进入函数2.望大神指点之!!!!!

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F2812 汇编指令CMP64 ACC:P具体是啥意思 有什么作用呢???
分享到: 更多 (0)