Direct Call; Indirect Branch And Call - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Branches
JUMP mylabel ;
/* skip any code placed here */
mylabel:
/* continue to fetch and execute instruction here */

Direct Call

The
instruction is a branch instruction that copies the address of the
CALL
instruction which would have executed next (had the
executed) into the
PC-relative offset that must be a multiple of two (bit 0 must be a 0). The
25-bit value gives an effective dynamic range of –16,777,216 to
+16,777,214 bytes. A direct
instruction.

Indirect Branch and Call

The indirect
JUMP
a data address generator (DAG) P-register. For the
register is loaded with the address of the instruction which would
RETS
have executed next in the absence of the
For example:
JUMP (P3) ;
CALL (P0) ;
To load a P-register with a symbolic target label you may use one of the
following syntax styles. The syntax may differ in various assembly tools
sets.
Modern style:
P4.H = HI(mytarget);
P4.L = LO(mytarget);
JUMP (P4);
4-12
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
register. The direct
RETS
instruction is always a 4-byte
CALL
and
instructions get their destination address from
CALL
instruction not
CALL
instruction has a 25-bit,
CALL
instruction, the
CALL
instruction.
CALL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents