
7-22 SC140 DSP Core Reference Manual
Static Programming Rules
Rule D.8
A MOVE-like instruction that reads the SR register is not allowed in the delay slot of a CONTD
instruction.
Example 7-37. SR Read in a CONTD Delay Slot
contd _label
move.l sr,d0 ;not allowed
Rule D.9
Instructions that read the EMR register are not allowed in the delay slot of a RTED, or RTSTKD
instruction.
Example 7-38. EMR Use in Return Delay Slots
rtstkd
move.l emr,d0 ;not allowed
rted
bmclr #$fffb,emr.l ;not allowed
7.5.6 Status Bit Rules
Rule T.1
At least one VLES is required between an 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-39. T Bit Update to IFT/IFF AGU Use
tsteq d0
ift move.l r0,d1 ; not allowed
tsteq d0
nop
ift move.l r0,d1 ; allowed
tsteq d0
ift mac d0,d1,d2 ; allowed
tsteq d0
ift mac d0,d1,d2 ifa move.l r0,d1 ; allowed
Comentários a estes Manuais