共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 跳转至页
回复
打赏帖 | |
---|---|
嵌入式LinuxC语言程序调试和宏使用技巧被打赏50分 | |
让代码中包含最新的编译时间信息被打赏50分 | |
rtthread硬件加密--2crc加密分析被打赏10分 | |
【分享开发笔记,赚取电动螺丝刀】mcxa156使用低功耗定时器适配硬件RTC框架被打赏26分 | |
【STM32F769】AI之与本地deepseek对接被打赏50分 | |
Buck电路工作在CCM模式下电感电流的计算公式是什么?被打赏5分 | |
buck电路工作原理被打赏5分 | |
基于MSPM0L1306的MODBUS-RTU协议通讯实验被打赏100分 | |
我想要一部加热台+多合一调试工具被打赏18分 | |
每周了解几个硬件知识+485硬件知识分享被打赏10分 |