Saturation - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

S
8-bit extension
binal point alignment
Figure 1-2. Conventional Placement of Binal Point

Saturation

When the result of an arithmetic operation exceeds the range of the desti-
nation register, important information can be lost.
Saturation is a technique used to contain the quantity within the values
that the destination register can represent. When a value is computed that
exceeds the capacity of the destination register, then the value written to
the register is the largest value that the register can hold with the same sign
as the original.
• If an operation would otherwise cause a positive value to overflow
and become negative, instead, saturation limits the result to the
maximum positive value for the size register being used.
• Conversely, if an operation would otherwise cause a negative value
to overflow and become positive, saturation limits the result to the
maximum negative value for the register size.
The overflow arithmetic flag is never set by an operation that enforces
saturation.
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
40-bit accumulator
31-bit fraction
32-bit register
S
31-bit fraction
16-bit register half
S
15-bit fraction
Introduction
1-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents