Freescale-semiconductor StarCore SC140 Instrukcja Użytkownika Strona 278

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 760
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 277
7-28 SC140 DSP Core Reference Manual
Static Programming Rules
Rule SR.7
The following instructions that affect status bits in SR cannot be grouped in a VLES with a MOVE-like
instruction that reads the SR register:
BREAK
CONT/CONTD
DI and EI
DOENn and DOENSHn
SKIPLS
For mutually exclusive IFc su/jointfilesconvert/1233470/bgroups in a VLES, this rule applies independently to each su/jointfilesconvert/1233470/bgroup.
Example 7-47. Status Bit Update with SR Read
doen0 #5 move.l sr,d0 ;not allowed
di push sr ;not allowed
skipls _dest bmtsts #4,sr.h ;not allowed
7.5.7 Loop Nesting Rules
Rule L.N.1
Nested loops cannot have the same LA.
Example 7-48. Nested Loops with the Same LA
...
move.w r3,(r4) ;LA
loopend1
loopend0 ;not allowed
Przeglądanie stron 277
1 2 ... 273 274 275 276 277 278 279 280 281 282 283 ... 759 760

Komentarze do niniejszej Instrukcji

Brak uwag