Texas Instruments TMS320C6000 Programmer's Manual page 282

Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

Example 6–77. Linear Assembly for FIR With Outer Loop Conditionally Executed
With Inner Loop (With Functional Units)(Continued)
MPY
ADD
MPYH
ADD
[!sctr]
MVK
[pctr]
SUB
[!pctr]
SUB
[!pctr]
SUB
[!pctr]
SUB
[!pctr]
SUB
[!pctr]
MVK
[octr]
SUB
[octr]
B
.endproc
.M2
h67,x67,p06
.L1X
p06,sum05,sum06
.M2
h67,x67,p07
.L1X
p07,sum06,sum07
.S1
4,sctr
.S1
pctr,1,pctr
.S2
x,rstx2,x
.S1
x_1,rstx1,x_1
.S1
h,rsth1,h
.S2
h_1,rsth2,h_1
.S1
4,pctr
.S2
octr,1,octr
.S2
LOOP
Outer Loop Conditionally Executed With Inner Loop
; p06 = h[i+6]*x[j+i+6]
; sum0 += p06
; p07 = h[i+7]*x[j+i+7]
; sum0 += p07
; reset store lp cntr
; dec pointer reset lp cntr
; reset x ptr
; reset x_1 ptr
; reset h ptr
; reset h_1 ptr
; reset pointer reset lp cntr
; dec outer lp cntr
; Branch outer loop
Optimizing Assembly Code via Linear Assembly
6-145

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Questions and answers

Table of Contents