
7-56 SC140 DSP Core Reference Manual
LPMARK Rules
Example 7-97. Active LCn Read at the Start of a Loop
doensh0 #$10
push lc0 ;not allowed
inc d0 {lpmarka set}
doensh0 #$10
push lc1 ;allowed
inc d0 {lpmarka set}
move.w #count2,d6
dosetup0 label2
doen0 d6
move.w #1,d1
move.w #2,d2
move.w #3,d3
move.w #4,d4
label2 inc d1
move.l lc0,d0 ;not allowed
inc d2 {lpmarkb set}
inc d3
inc d4
move.w #count2,d6
dosetup0 label2
doen0 d6
move.w #1,d1
move.w #2,d2
move.w #3,d3
move.w #4,d4
label2 inc d1
move.l lc1,d0 ;allowed
inc d2 {lpmarkb set}
inc d3
inc d4
7.8.3.5 Loop COF Rules
LPMARK Rule L.C.2
COF instructions are not allowed at LPB of a long loop.
Komentáře k této Příručce