Linear Convolution Using TMS320C50 DSP Processor:
C000 LDP #100H
C001 LAR 0,#8004
C003 LAR 1,#8050
C005 LAR 2,#07
C006 ZAP
C007 MAR *,0
C008 RPT #05
C009 MAC C050,*,-
C00B ADR #07
C00C MAR *,1
C00D SACL *+,0,2
C00E MAR *-
C00F BANZ C006,0
C011 B C011
x(n) h(n)
8000-0000 C050-0001
8001-0000 C051-0001
8002-0000 C052-0001
8003-0000 C053-0001
8004-0001 C054-0001
8005-0002 C055-0000
8006-0003 C056-0000
8007-0000
8008-0000
8009-0000
800A-0000
OUTPUT:
8050-0001
8051-0003
8052-0006
8053-0006
8054-0006
8055-0005
8056-0003
C000 LDP #100H
C001 LAR 0,#8004
C003 LAR 1,#8050
C005 LAR 2,#07
C006 ZAP
C007 MAR *,0
C008 RPT #05
C009 MAC C050,*,-
C00B ADR #07
C00C MAR *,1
C00D SACL *+,0,2
C00E MAR *-
C00F BANZ C006,0
C011 B C011
x(n) h(n)
8000-0000 C050-0001
8001-0000 C051-0001
8002-0000 C052-0001
8003-0000 C053-0001
8004-0001 C054-0001
8005-0002 C055-0000
8006-0003 C056-0000
8007-0000
8008-0000
8009-0000
800A-0000
OUTPUT:
8050-0001
8051-0003
8052-0006
8053-0006
8054-0006
8055-0005
8056-0003
0 comments:
Post a Comment