Freescale-semiconductor StarCore SC140 Manual de usuario Pagina 307

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 760
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 306
LPMARK Rules
SC140 DSP Core Reference Manual 7-57
Example 7-98. COF Instructions at LPB of a Long Loop
dosetup1 label1
doen1 #n2
move.l #mem_l1,r1
move.l #mem_l2,r0
label1 inc d1
jsr r1 {lpmarkb set} ;not allowed
add d1,d2,d3
move.w d3,(r0)
LPMARK Rule L.C.3 + L.C.5
A Bc or Jc instruction is not allowed at LPA-1 or LPB-1 of a loop.
Example 7-99. Bc/Jc at the Start of a Loop
cmpgt d4,d3
nop
iff doensh3 #count2
bt _dest ;not allowed
inc d2 {lpmarka set}
...
_dest inc d2
dosetup1 label7
move.w #0,d1
doen1 #5
move.w #10,d2
label7 inc d1
bf label6 ;not allowed
inc d2 {lpmarkb set}
inc d3
inc d4
Vista de pagina 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 759 760

Comentarios a estos manuales

Sin comentarios