beautypg.com

Bc/jc at la-3 of a long loop -37, Rule l.c.5 – Freescale Semiconductor StarCore SC140 User Manual

Page 287

background image

Static Programming Rules

SC140 DSP Core Reference Manual

7-37

Rule L.C.5

A Bc or Jc instruction is not allowed at LA-3 of a long loop.

Example 7-68. Bc/Jc at LA-3 of a Long Loop

dosetup1 label7
move.w #0,d1
doen1 #5
loopstart1

label7 inc d1

bf label6

;LA-3, not allowed

inc d2
inc d3
inc d4
loopend1