Static Programming Rules

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

;LA-3, not allowed

bf label6

inc d2

 

inc d3

 

inc d4

 

loopend1

 

SC140 DSP Core Reference Manual

7-37

Page 287
Image 287
Freescale Semiconductor SC140 specifications Rule L.C.5, Bc or Jc instruction is not allowed at LA-3 of a long loop