Analog Devices ADSP-BF53x Blackfin Reference page 345

Table of Contents

Advertisement

Indirect and Post-Increment Index Addressing
The syntax of the form:
Dest = W [ Src_1 ++ Src_2 ] (X)
is indirect, post-increment index addressing. The form is shorthand for
the following sequence.
Dest = [Src_1] ;
Src_1 += Src_2 ;
by Src_2 */
where:
is the destination register. (
Dest
is the first source register on the right-hand side of the
Src_1
equation.
is the second source register.
Src_2
Indirect and post-increment index addressing supports customized
indirect address cadence. The indirect, post-increment index ver-
sion must have separate P-registers for the input operands. If a
common Preg is used for the inputs, the instruction functions as a
simple, non-incrementing load. For example,
functions as
Flags Affected
None
Required Mode
User & Supervisor
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* load the 32-bit destination, indirect*/
/* post-increment Src_1 by a quantity indexed
.
r0 = W[p2]
in the syntax example).
Dreg
r0 = W[p2++p2]
Load / Store
8-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents