Static Programming Rules

Rule A.7

A RTSTK or RTSTKD instruction cannot be grouped in a VLES with a MOVE-like instruction that reads the EMR register. For mutually exclusive IFc subgroups in a VLES, this rule applies independently to each subgroup.

Example 7-29. NMID Update to EMR Read

rtstk

move.l emr,d0

;not allowed

7.5.5 Delayed COF Rules

Rule D.1

The following instructions are not allowed in a delay slot:

COF instructions

STOP and WAIT

DI

DEBUG

Example 7-30. Instructions in a Delay Slot

jmpd r1

;not allowed

jmp r2

SC140 DSP Core Reference Manual

7-19

Page 269
Image 269
Freescale Semiconductor SC140 specifications Delayed COF Rules, Rule A.7, Rule D.1, Example 7-29. Nmid Update to EMR Read