Lsetup, Loop - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

LSETUP, LOOP

General Form
There are two forms of this instruction. The first is:
LOOP loop_name loop_counter
LOOP_BEGIN loop_name
LOOP_END loop_name
The second form is:
LSETUP (Begin_Loop, End_Loop)Loop_Counter
Syntax
For Loop0
LOOP loop_name LC0 ;
LOOP loop_name LC0 = Preg ;
LOOP loop_name LC0 = Preg >> 1 ; /* autoinit LC0(b) */
LOOP_BEGIN loop_name ;
*/
LOOP_END loop_name ;
(b) */
/* use any one of the LOOP syntax versions with a LOOP_BEGIN and
a LOOP_END instruction. The name of the loop ("loop_name" in the
syntax) relates the three instructions together. */
LSETUP ( pcrel5m2 , lppcrel11m2 ) LC0 ;
LSETUP ( pcrel5m2 , lppcrel11m2 ) LC0 = Preg ;
ize LC0 (b) */
LSETUP ( pcrel5m2 , lppcrel11m2 ) LC0 = Preg >> 1 ;
tialize LC0 (b) */
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* (b) */
/* autoinitialize LC0 (b) */
/* define the 1st instruction of loop(b)
/* define the last instruction of the loop
Program Flow Control
/* (b) */
/* autoinitial-
/* autoini-
7-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents