mytarget:
/* continue here */
Legacy style:
P4.H = mytarget;
P4.L = mytarget;
JUMP (P4);
mytarget:
/* continue here */
PC-Relative Indirect Branch and Call
The PC-relative indirect
P-register as an offset to the branch target. For the
register is loaded with the address of the instruction which would
RETS
have executed next (had the
For example:
JUMP (PC + P3) ;
CALL (PC + P0) ;
Subroutines
Subroutines are code sequences that are invoked by a
Assuming the stack pointer
nario could look like the following:
/* parent function */
R0 = 0x1234 (Z);
CALL myfunction;
/* continue here after the call */
[P0] = R0; /* save return value */
JUMP somewhereelse;
myfunction:
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
and
JUMP
CALL
has been initialized properly, a typical sce-
SP
/* pass a parameter */
/* subroutine label */
Program Sequencer
instructions use the contents of a
CALL
CALL
instruction not executed).
instruction, the
instruction.
CALL
4-13
Need help?
Do you have a question about the ADSP-BF53x Blackfin and is the answer not in the manual?