beautypg.com

5 delayed cof rules, A.1.4, Nmid update to emr read -19 – Freescale Semiconductor StarCore SC140 User Manual

Page 269: Instructions in a delay slot -19

background image

Static Programming Rules

SC140 DSP Core Reference Manual

7-19

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
jmp r2

;not allowed