正在加载图片...
应用举例:计算16阶的FR滤波器输出256个点 sec七 fir-pr。g STM #255, BRC Repeat 256 times RPTBD fir filter loop STM #16 BK FIR circular buffer size 工D*AR7+,A load the input Va⊥ue sTA,*AR4+号 replace oldest sample with i newest sample RPTZ A, #16 MAC★AR4+0号,★AR3+0号,A filtering STH A, *AR5+ replace the oldest buffe应用举例: 计算16阶的FIR滤波器输出256个点 .sect “fir-prog” STM #255, BRC ; Repeat 256 times RPTBD fir_filter_loop STM #16, BK ; FIR circular buffer size LD *AR7+, A ; load the input value STL A, *AR4+% ; replace oldest sample with ; newest sample RPTZ A, #16 MAC *AR4+0%, *AR3+0%, A ; filtering STH A, *AR5+ ; replace the oldest buffer value
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有