Analog Devices ADSP-BF53x Blackfin Reference page 497

Table of Contents

Advertisement

Options
Option (S) invokes saturation of the result.
In the default case–without the saturation option–numbers can be
left-shifted so far that all the sign bits overflow and are lost. However,
when the saturation option is enabled, a left shift that would otherwise
shift nonsign bits off the left-hand side saturates to the maximum positive
or negative value instead. Consequently, with saturation enabled, the
result always keeps the same sign as the original number.
See
"Saturation" on page 1-17
Flags Affected
The versions of this instruction that send results to a
follows.
is set if result is zero; cleared if nonzero.
AZ
is set if result is negative; cleared if non-negative.
AN
is set if result overflows; cleared if no overflow.
V
is set if
VS
• All other flags are unaffected.
The versions of this instruction that send results to an Accumulator
flags as follows.
is set if result is zero; cleared if nonzero.
AZ
is set if result is negative; cleared if non-negative.
AN
is set if result is zero; cleared if nonzero.
AV0
is set if
AV0S
• All other flags are unaffected.
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
for a description of saturation behavior.
is set; unaffected otherwise.
V
is set; unaffected otherwise.
AV0
Shift/Rotate Operations
set flags as
Dreg
set
A0
14-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents