Aligning Buffers With the TMS320 Floating-Point DSP Assembly
6-28
6.9
Aligning Buffers With the TMS320 Floating-Point DSP Assembly
Language Tools
To align buffers to a K-bit boundary, you can use the .sect or .usect assembly
directives to define a section in conjunction with the align memory allocation
parameter of the sections directive of the linker command file. For the FIR filter
of Example 6–25 with a length of 32, the linker command file is:
MEMORY
{
RAM origin = 0h, length = 1000h
}
SECTIONS
{
.text: > RAM
Impulse_Resp ALIGN(64): > RAM
Input_Buf
ALIGN(64): > RAM
}
Aligning Buffers With the TMS320 Floating-Point DSP Assembly Language Tools