Analog Devices VISUALDSP++ 3.5 Manual page 98

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

C/C++ Compiler Language Extensions
The additional keywords that are part of these C/C++ extensions do not
conflict with any ISO/ANSI C/C++ keywords. The formal definitions of
these extension keywords are prefixed with a leading double underscore
(
). Unless the
__
compiler defines the shorter forms of the keyword extension that omits
the leading underscores. See
information.
This section describes only the shorter forms of the keyword extensions,
but in most cases you can use either form in your code. For example, all
references to the
double underscores, but you can use
in your code.
You might need to use the longer forms (such as
you are porting a program that uses the extra Analog Devices keywords as
identifiers. For example, a program might declare local variables such as
or
. In this case, you should use the
dm
you need to declare a function as inline, or allocate variables to memory
spaces, you can use
Table 1-7
provides a list and a brief description of keyword extensions.
Table 1-8
provides a list and a brief description of operational extensions.
Both tables direct you to sections of this chapter that document each
extension in more detail.
Table 1-7. Keyword Extensions
Keyword extensions
(
inline
function)
dm
1-60
-no-extra-keywords
"-extra-keywords" on page 1-26
keyword in this text appear without the leading
inline
or
__inline
__pm
Description
Directs the compiler to integrate the function code into the code of
the
callers.For more information, see "Inline Function Support
Keyword (inline)" on page 1-62.
Specifies the location of a static or global variable or qualifies a
pointer declaration "
For more information, see "Dual Memory Support Keywords (pm
dm)" on page 1-78.
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
command-line switch is used, the
or
inline
__inline
__inline
-no-extra-keywords
/
respectively.
__dm
" as referring to Data Memory.
*
for ADSP-219x DSPs
for more
interchangeably
) exclusively if
pm
switch, and if

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents