C/C++ Compiler Language Extensions
Addressing "Far" Data
The result of the address operator, "
of data which is declared as being in "
type.
C++ Function Overloading
The compiler, in C++ mode, will allow function overloading of parame-
ters types for different "
types.
Library Support for "Far" Pointers
All standard library functions that normally have pointer parameters cur-
rently only support
parameter to a standard library function will cause the
truncated. The compiler will generate a warning when this occurs assum-
ing the correct standard include file has been included before the call to
the library.
Legacy Support
Previous releases of VisualDSP++ only supported external memory
through compiler intrinsics which had to be passed the full address to be
loaded or stored. These intrinsics are still supported although superseded
in terms of functionality and flexibility by use of "
The inclusion of
inline instructions to implement
external memory.
The prototypes of the functions are defined in
int external_memory_read(int DMPG_val, int* addr);
void external_memory_write(int DMPG_val, int* addr, int val);
1-102
" and "
far
near
pointer parameters. Passing a
near
allows the use of functions that will generate
sysreg.h
read
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
", when used to generate the address
&
" memory will be a
far
" qualified parameters and return
" qualified types.
far
and
of values from and to
write
sysreg.h
for ADSP-219x DSPs
pointer
far
pointer
far
pointer to be
far
:
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers