共2条
1/1 1 跳转至页
TMS320C5402,MACD 请教关于TMS320C5402的MACD指令问题
问
想请教:
RPT DDN
MACD *AR7-,COEFP,A
再循环过程中,COEFP的地址会不会变?
看到别人做的一个数字滤波器,用的就是以上的语句
如果COEFP的地址不变,那不是乘的都是一个系数?
刚开始ti的DSP,对这条指令还不是很清楚
谢谢大家 答 1: DescriptionThe MACD instruction multiplies a data-memory value by a program-memory value, adds the product to the source accumulator, and stores the result in that accumulator. The data-memory value is copied into TREG and into the next address following the Smem address. When this instruction is repeated, the program-memory address (in the program address register PAR) is incremented by 1. Once the repeat pipeline is started, the instruction becomes a single-cycle instruction. 答 2: 强悍的指令
RPT DDN
MACD *AR7-,COEFP,A
再循环过程中,COEFP的地址会不会变?
看到别人做的一个数字滤波器,用的就是以上的语句
如果COEFP的地址不变,那不是乘的都是一个系数?
刚开始ti的DSP,对这条指令还不是很清楚
谢谢大家 答 1: DescriptionThe MACD instruction multiplies a data-memory value by a program-memory value, adds the product to the source accumulator, and stores the result in that accumulator. The data-memory value is copied into TREG and into the next address following the Smem address. When this instruction is repeated, the program-memory address (in the program address register PAR) is incremented by 1. Once the repeat pipeline is started, the instruction becomes a single-cycle instruction. 答 2: 强悍的指令
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图四被打赏50分 | |
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 |