Addressing With the AAU
5-6
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
Instructions using Index registers use an M-register or a small immediate
value (+/– 2 or 4) as the modifier. Instructions using Pointer registers use
a small immediate value or another P-register as the modifier. For details,
see
Table 5-3, “AAU Instruction Summary,” on page 5-20
.
Pointer Register File
The general-purpose Address Pointer registers, also called P-registers, are
organized as:
• 6-entry, P-register file
P[5:0]
• Frame Pointer (
FP
) used to point to the current procedure’s activa-
tion record
• Stack Pointer (
SP
) used to point to the last used location on the
runtime stack.
P-registers are 32 bits wide. Although P-registers are primarily used for
address calculations, they may also be used for general integer arithmetic
with a limited set of arithmetic operations; for instance, to maintain
counters. However, unlike the Data registers, P-register arithmetic does
not affect the Arithmetic Status (
ASTAT
) register status flags.
Frame and Stack Pointers
In many respects, the Frame and Stack Pointer registers perform like the
other P-registers,
P[5:0]
. They can act as general pointers in any of the
load/store instructions, for example,
R1 = B[SP] (Z)
. However,
FP
and
SP
have additional functionality.
The Stack Pointer registers include:
• a User Stack Pointer (
USP
in Supervisor mode,
SP
in User mode)
• a Supervisor Stack Pointer (
SP
in Supervisor mode)
Summary of Contents for ADSP-BF53x Blackfin
Page 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...