ADSP-BF535 Blackfin Processor Hardware Reference
4-11
Program Sequencer
Direct Short and Long Jumps
The Sequencer supports both short and long jumps. The target of the
branch is a PC-relative address from the location of the instruction, plus
an offset. The PC-relative offset for the short jump is a 13-bit immediate
value that must be a multiple of two (bit zero must be a zero). The 13-bit
value gives an effective dynamic range of –4096 to +4094 bytes.
The PC-relative offset for the long jump is a 25-bit immediate value that
must also be a multiple of two (bit zero must be a zero). The 25-bit value
gives an effective dynamic range of –16,777,216 to +16,777,214 bytes.
If, at the time of writing the program, the destination is known to be less
than a 13-bit offset from the current PC value, then the
JUMP.S 0xnnnn
instruction may be used. If the destination requires more than a 13-bit
offset, then the
JUMP.L 0xnnnn
instruction must be used. If the destination
offset is unknown and development tools must evaluate the offset, then
use the instruction
JUMP 0xnnnn
. Upon disassembly, the instruction is
replaced by the appropriate
JUMP.S
or
JUMP.L
instruction.
Direct Call
The
CALL
instruction is a branch instruction that copies the location of the
instruction after the call into the
RETS
register. The
CALL
instruction has a
25-bit PC-relative offset that must be a multiple of two (bit zero must be a
zero). The 25-bit value gives an effective dynamic range of –16,777,216 to
+16,777,214 bytes.
Indirect Branch and Call
The indirect
JUMP
and
CALL
instructions use a dynamic address—an
address that changes at runtime—that comes from the Data Address Gen-
erator. The effective address is stored in a P-register. For the
CALL
instruction, the
RETS
register is loaded with the address of the instruction
following the
CALL
instruction.
Содержание ADSP-BF535 Blackfin
Страница 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Страница 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 908: ...SDRAM Controller External Bus Interface Unit B 36 ADSP BF535 Blackfin Processor Hardware Reference...