LPMARK Rules
SC140 DSP Core Reference Manual
7-55
LPMARK Rule L.L.6
A MOVE-like instruction that writes the SR register is not allowed at LPA-2, LPA-1, LPB-2 or LPB-1 of a
short loop.
7.8.3.4 Loop Sequencing Rules
LPMARK Rule L.D.2 + L.D.3
The minimum number of VLES between the following instructions that write the active LCn register and
LPA or LPB of a loop is:
•
DOENn/DOENSHn Rn or #x: one VLES (address register or immediate value)
•
DOENn/DOENSHn Dn: two VLES (data register)
•
MOVE-like instruction that writes the active LCn register: two VLES
Example 7-95. Active LCn Write at the Start of a Loop
move.w #3,d0
doensh0 d0
;allowed
move.l d1,lc0
;not allowed
move.w #2,d2
inc d1
{lpmarka set}
move.w #3,r8
dosetup1 label1
doen1 r8
;not allowed
label1 inc d3
{lpmarkb set}
inc d4
inc d5
LPMARK Rule L.D.6
At least one VLES is required between an instruction that writes the active SAn register and LPA or LPB
of a long loop.
Example 7-96. Active SAn Write at the End of Long Loops
doen0 #5
dosetup0 label
;not allowed
label
inc d2
{lpmarkb set}
inc d1
inc d0
LPMARK Rule L.D.8 + L.D.9
At least one VLES is required between a MOVE-like instruction that reads the active LCn register and
LPA or LPB of a loop.
Содержание SC140 DSP Core
Страница 12: ...xii SC140 DSP Core Reference Manual ...
Страница 18: ...xviii SC140 DSP Core Reference Manual ...
Страница 32: ...1 6 SC140 DSP Core Reference Manual Core Architecture Features ...
Страница 180: ...4 70 SC140 DSP Core Reference Manual Trace Unit Registers ...
Страница 250: ...6 70 SC140 DSP Core Reference Manual Programming Rules ...
Страница 314: ...7 64 SC140 DSP Core Reference Manual NOP Definition ...
Страница 385: ...BMCHG W SC140 DSP Core Reference Manual A 71 u16 iiiiiiiiiiiiiiii 16 bit unsigned immediate data ...
Страница 388: ...A 74 SC140 DSP Core Reference Manual BMCHG W s16 AAAAAAAAAAAAAAAA 16 bit signed SP address offset ...
Страница 391: ...BMCLR SC140 DSP Core Reference Manual A 77 u16 iiiiiiiiiiiiiiii 16 bit unsigned immediate data ...
Страница 454: ...A 140 SC140 DSP Core Reference Manual DECA u5 iiiii 5 bit unsigned immediate data 1 set by the assembler ...
Страница 463: ...DI SC140 DSP Core Reference Manual A 149 15 8 7 0 DI 1 1 4 1 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 ...
Страница 478: ...A 164 SC140 DSP Core Reference Manual EI ...
Страница 592: ...A 278 SC140 DSP Core Reference Manual MOVE L a32 aaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAA 32 bit absolute long address ...
Страница 618: ...A 304 SC140 DSP Core Reference Manual MOVES 4F s15 sssssssssssssss Signed 15 bit offset ...
Страница 638: ...A 324 SC140 DSP Core Reference Manual MPYR ...
Страница 660: ...A 346 SC140 DSP Core Reference Manual OR W s16 AAAAAAAAAAAAAAAA Signed 16 bit SP address offset ...
Страница 746: ...A 432 SC140 DSP Core Reference Manual ZXTA x ...
Страница 758: ...I 10 Index ...
Страница 759: ...SC140 DSP Core Reference Manual i ...
Страница 760: ......