Vector Abs - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Vector ABS

General Form
dest_reg = ABS source_reg (V)
Syntax
Dreg = ABS Dreg (V) ;
Syntax Terminology
:
Dreg
R7–0
Instruction Length
In the syntax, comment (b) identifies 32-bit instruction length.
Functional Description
The Vector Absolute Value instruction calculates the individual absolute
values of the upper and lower halves of a single 32-bit data register. The
results are placed into a 32-bit
• If the input value is positive or zero, copy it unmodified to the
destination.
• If the input value is negative, subtract it from zero and store the
result in the destination.
For example, if the source register contains the data shown in
the destination register receives the data shown in
Table 19-15. Source Registers Contain
src_reg:
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* (b) */
dest_reg
31................24
23................16
x.h
Vector Operations
, using the following rules.
Table
19-16.
15..................8
Table 19-15
7....................0
x.l
19-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents