Pragma Isr - Intel i960 User Manual

Processor compiler
Hide thumbs Also See for i960:
Table of Contents

Advertisement

7
7-34
i960 Processor Compiler User's Guide

#pragma isr

Specifies routines to be compiled as interrupt service routines (
syntax is:
#pragma isr [(] function_name [ [,] function_name ]...[)]
When a routine specified as an interrupt service routine is compiled, the
compiler generates code so that registers
exit that they had when entering the function. In addition, the code
generated for the routine makes no assumptions about register
on entry. By guaranteeing these registers' values and not assuming
be zero,
ensures that the routine's address can be placed
#pragma isr
directly in the interrupt vector table, and the state of the processor are the
same at routine exit as it was at routine entry.
#pragma optimize
#pragma optimize [(] [ identifier =]" string "[,]
[ identifier = " string "]... [)]
Enables or disables optimizations. If specified, the identifier denotes a
function with which the
The string is a comma-separated list of optimizations to enable or disable.
Currently recognized optimizations are:
tce
notce
lp
nolp
If no function is specified then this pragma applies to the rest of the file.
Any optimizations other than those recognized above are ignored.
g0-g15
string is to be associated.
#pragma optimize
enable tail-call-elimination optimization
disable tail-call-elimination optimization
enable leaf-procedures optimization
disable leaf-procedures optimization
's). The
isr
have the same values on
's value
g14
to
g14

Advertisement

Table of Contents
loading

Table of Contents