Freescale-semiconductor StarCore SC140 Manuel d'utilisateur Page 288

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 760
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 287
7-38 SC140 DSP Core Reference Manual
Static Programming Rules
Rule L.C.7
A loop COF instruction (BREAK, CONT, CONTD, or SKIPLS) in an enabled loop n cannot have a COF
destination in the same loop n.
Example 7-69. Loop COF Destination in the Same Loop
dosetup3 label1
doen3 #5
loopstart3
label1 inc d1
inc d2
break label2 ;not allowed
inc d3
inc d4
label2 inc d5
loopend3
dosetup3 label1
doen3 d0
nop
skipls label2 ;allowed
loopstart3
label1 inc d1
inc d2
inc d3
inc d4
inc d5
loopend3
label2 nop
dosetup2 label1
doen2 #6
nop
loopstart2
label1 cont next ;not allowed
nop
inc d0
dosetup3 label2
doen3 #5
loopstart3
label2 inc d1
next inc d2
inc d3
inc d4
inc d5
loopend3
nop
loopend2
nop
Vue de la page 287
1 2 ... 283 284 285 286 287 288 289 290 291 292 293 ... 759 760

Commentaires sur ces manuels

Pas de commentaire