Freescale-semiconductor StarCore SC140 Bedienungsanleitung Seite 273

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 760
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 272
Static Programming Rules
SC140 DSP Core Reference Manual 7-23
Rule T.2.a
At least one VLES is required between an ISAP instruction that affects the T status bit in SR and a
conditional COF instruction.
Example 7-40. T Bit Update by ISAP and COF
{tsteq k0} ; tsteq is an ISAP instruction that
updates the T bit
jt r0 ; not allowed
{tsteq k0}
nop
jf _destination ; allowed
Rule T.2.b
At least two VLES are required between an ISAP instruction that affects the T status bit in SR and a
MOVET/MOVEF instruction.
Example 7-41. T Bit Update by ISAP and MOVET/MOVEF
{tsteq k0} ; tsteq is an ISAP instruction that
updates the T bit
movet r0,r1 ; not allowed
{tsteq k0}
nop
nop
movet r1,r2 ; allowed
Rule T.2.c
At least two VLES are required between an ISAP instruction that affects the T status bit in SR and an AGU
instruction in an IFT/IFF group or su/jointfilesconvert/1233470/bgroup. This rule does not apply to AGU instructions in an IFA
su/jointfilesconvert/1233470/bgroup.
Example 7-42. T Bit Update by ISAP and IFT/IFF
{tsteq k0} ; tsteq is an ISAP instruction that
updates the T bit
ift move.l d0,d1 ; not allowed
{tsteq k0}
nop
nop
ift move.l d1,d2 ; allowed
Rule SR.2
At least two VLES are required between a MOVE-like instruction that writes the SR register and an
instruction affected by a status bit in SR.
Seitenansicht 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 759 760

Kommentare zu diesen Handbüchern

Keine Kommentare