EasyManuals Logo

Analog Devices adsp-2100 User Manual

Analog Devices adsp-2100
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #55 background imageLoading...
Page #55 background image
Computational Units
2 – 31
2
In addition to the direction of the shifting operation, the shift may be
either arithmetic (ASHIFT) or logical (LSHIFT). For example, the following
shows a logical shift, relative to the upper half of SR (HI):
SI=0xB6A3;
SR=LSHIFT SI BY –5 (HI);
Input: 10110110 10100011
Shift value: -5
SR: 00000
101 10110101 00011
000 00000000
This example shows an arithmetic shift of the same input and shift code:
SI=0xB6A3;
SR=ASHIFT SI BY –5 (HI);
Input: 10110110 10100011
Shift value: -5
SR: 11111
101 10110101 00011
000 00000000
2.4.2.4 Denormalize
Denormalizing refers to shifting a number according to a predefined
exponent. The operation is effectively a floating-point to fixed-point
conversion.
Denormalizing requires a sequence of operations. First, the SE register
must contain the exponent value. This value may be explicitly loaded or
may be the result of some previous operation. Next the shift itself is
performed, taking its shift value from the SE register, not from an
immediate data value.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Analog Devices adsp-2100 and is the answer not in the manual?

Analog Devices adsp-2100 Specifications

General IconGeneral
BrandAnalog Devices
Modeladsp-2100
CategoryComputer Hardware
LanguageEnglish

Related product manuals