If an interrupt occurs, program execution begins at the interrupt vector
addresses. Program execution causes a jump to
the default vector code. If
__lib_int_table
__lib_int_determiner
handler call. The function
a return from interrupt (RTI) instruction, which restores program execu-
tion to the point at which the interrupt was raised.
A handler for an interrupt or signal is set using the
run-time library functions. These functions pass the signal name and a
handler function pointer as parameters. The signal macro names are
defined in
signal.h
The default interrupt vector code may be replaced with custom code by
modifying or creating a new piece of code to be placed at the vector
addresses. This is usually done by copying the default
file and
file into your project and modifying them as required.
.LDF
An
interrupt
tor code directly or be jumped to from the vector if it does not fit in the
interrupt vector space (see
The reset vector code, which is placed at address zero (0) and does
a jump to
Stack Frame
The stack frame (or activation record) provides for the following activities:
• space for local variables for the current procedure. For the com-
piler, this includes temporary storage as well as that required for
explicitly declared user automatic variables.
• place to save linkage information such as return addresses, location
information for the previous caller's stack frame, and to allow this
procedure to return to its caller
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
__lib_int_determiner
) a handler set for the interrupt, it will call the handler.
saves and restores all scratch registers around the
__lib_int_determiner
.
pragma defined function can be placed in the interrupt vec-
"Interrupt Handler Pragmas" on page
_____system_start
__lib_int_determiner
finds (by inspecting
terminates by executing
interrupt
219x_int_tab.asm
, should not be replaced.
Compiler
in
or
C
signal
1-122).
1-155
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers