Pointer Register File; Frame And Stack Pointers - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Addressing With the AAU
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

Pointer Register File

The general-purpose Address Pointer registers, also called P-registers, are
organized as:
• 6-entry, P-register file
• Frame Pointer (
tion record
• Stack Pointer (
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 (

Frame and Stack Pointers

In many respects, the Frame and Stack Pointer registers perform like the
other P-registers,
load/store instructions, for example,
have additional functionality.
The Stack Pointer registers include:
• a User Stack Pointer (
• a Supervisor Stack Pointer (
5-6
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
P[5:0]
) used to point to the current procedure's activa-
FP
) used to point to the last used location on the
SP
ASTAT
. They can act as general pointers in any of the
P[5:0]
in Supervisor mode,
USP
SP
5-20.
) register status flags.
. However,
R1 = B[SP] (Z)
SP
in Supervisor mode)
and
FP
SP
in User mode)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADSP-BF53x Blackfin and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents