Memory Address Alignment - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Memory Address Alignment

The address-modify operation modifies addresses in any Index and
Pointer register (
Index register's corresponding B- and L-registers are set up for circular
buffering, the address-modify operation performs the specified buffer
wraparound (if needed).
The syntax is similar to post-modify addressing (index += modifier). For
Index registers, an M-register is used as the modifier. For Pointer registers,
another P-register is used as the modifier.
Consider the example,
This instruction adds
Memory Address Alignment
The processor requires proper memory alignment to be maintained for the
data size being accessed. Unless exceptions are disabled, violations of
memory alignment cause an alignment exception. Some instructions—for
example, many of the Video ALU instructions—automatically disable
alignment exceptions because the data may not be properly aligned when
stored in memory. Alignment exceptions may be disabled by issuing the
DISALGNEXCPT
Normally, the memory system requires two address alignments:
• 32-bit word load/stores are accessed on four-byte boundaries,
meaning the two least significant bits of the address are b#00.
• 16-bit word load/stores are accessed on two-byte boundaries,
meaning the least significant bit of the address must be b#0.
5-16
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
,
,
I[3:0]
P[5:0]
I1 += M2
to
and updates
M2
I1
instruction in parallel with a load/store operation.
,
) without accessing memory. If the
FP
SP
;
with the new value.
I1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents