function name—prefix an underscore on the name. For more information
on naming conventions, see the section
Interface" on page
Several of the ETSI routines are provided with carry and overflow check-
ing. Where overflow or carry occurs, the global variables
will be set. It is your responsibility to reset these variables in
Overflow
between operations. The
integers and are prototyped in the
ETSI functions provided by Analog Devices, this can be switched off by
compiling with
In fact, this is the default for the ADSP-219x DSP implementation. If the
user wishes to keep track of these flags, for debugging purposes, they
should compile with
user is using the functions in accordance with the ETSI standard, but this
will result in a reduced performance.
Using the ETSI Built-In Functions
Some of the ETSI functions have been implemented as part of
compiler's set of built-in functions. For information on how to use these
functions, refer to
built-in implementations will be automatically defined when header file
ETSI_fract_arith.h
Linking ETSI Library Functions
When your C/C++ code calls an ETSI function that is not implemented
using a compiler built-in, the call creates a reference that the linker
resolves when linking. This requires the linker to be directed to link with
the ETSI library,
directory of the VisualDSP++ installation directory. This is done
automatically when using the default Linker Description File (LDF) for
ADSP-219x processor targets, as these specify that
each link line.
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
1-169.
and
Carry
defined in the compiler command line.
__NO_ETSI_FLAGS
__NO_ETSI_FLAGS
"Compiler Built-In Functions" on page
is included.
, in the
libetsi.dlb
"C/C++ and Assembly Language
variables are represented by
Overflow
system header file. With the
libetsi.h
set to zero. This will mean that the
directory, which is a sub-
219x\lib
libetsi.dlb
Compiler
and
Carry
cc219x
1-94. These
will be on
1-109
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers