共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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 【FreeRtos】FreeRtos + MPU模块的配置使用被打赏¥32元 | |
| 【分享开发笔记,赚取电动螺丝刀】墨水屏文本显示器被打赏¥25元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX读取磁力计iis2mdc被打赏¥19元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX读取LPS22HH气压、温度被打赏¥19元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX读取STTS751温度被打赏¥17元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX软件读取HTS221温湿度被打赏¥22元 | |
| M5PAPERESP32EINKDEVKIT评测|使用MicroPython开发M5Paper被打赏¥15元 | |
| OK1126B-S开发板下以导航按键控制云台/机械臂姿态调整被打赏¥29元 | |
| 【树莓派5】便携热成像仪被打赏¥36元 | |
| 【树莓派5】环境监测仪被打赏¥35元 | |
我要赚赏金
