ALIGN8, ALIGN16, ALIGN24
General Form
dest_reg = ALIGN8 ( src_reg_1, src_reg_0 )
dest_reg = ALIGN16 (src_reg_1, src_reg_0 )
dest_reg = ALIGN24 (src_reg_1, src_reg_0 )
Syntax
Dreg = ALIGN8 ( Dreg, Dreg ) ;
Dreg = ALIGN16 ( Dreg, Dreg ) ;
Dreg = ALIGN24 ( Dreg, Dreg ) ;
Syntax Terminology
:
Dreg
R7–0
Instruction Length
In the syntax, comment (b) identifies 32-bit instruction length.
Functional Description
The Byte Align instruction copies a contiguous four-byte unaligned word
from a combination of two data registers. The instruction version deter-
mines the bytes that are copied; in other words, the byte alignment of the
copied word. Alignment options are shown in
The
version performs the same operation as the Vector Pack
ALIGN16
instruction using the
Use the Byte Align instruction to align data bytes for subsequent sin-
gle-instruction, multiple-data (SIMD) instructions.
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* overlay 1 byte (b) */
dest_reg = PACK ( Dreg_lo, Dreg_hi )
Video Pixel Operations
/* overlay 2 bytes (b) */
/* overlay 3 bytes (b) */
Table
18-1.
syntax.
18-3
Need help?
Do you have a question about the ADSP-BF53x Blackfin and is the answer not in the manual?
Questions and answers