Pre-Modify Stack Pointer Addressing; Post-Modify Addressing - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

For example:
R0 = [ I2-- ] ;
loads a 32-bit value into the destination register and decrements the Index
register by 4.

Pre-modify Stack Pointer Addressing

The only pre-modify instruction in the processor uses the Stack Pointer
register,
. The address in
SP
effective address for the store. The instruction
stack push operations and can support only a 32-bit word transfer.

Post-modify Addressing

Post-modify addressing uses the value in the Index or Pointer registers as
the effective address and then modifies it by the contents of another regis-
ter. Pointer registers are modified by other Pointer registers. Index
registers are modified by Modify registers. Post-modify addressing does
not support the Pointer registers as destination registers, nor does it sup-
port byte-addressing.
For example:
R5 = [ P1++P2 ] ;
loads a 32-bit value into the
pointed to by the
The value in the
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
is decremented by 4 and then used as an
SP
register, found in the memory location
R5
register.
P1
register is then added to the value in the
P2
Address Arithmetic Unit
; is used for
[ --SP ] = R0
P1
register.
5-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents