SW500009 Microchip Technology, SW500009 Datasheet - Page 111

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Macro Assembler
will generate the assembler directive
thereby telling the linker that bill() is called while evaluating the arguments for a call to fred().
4.3.8.12 FNBREAK
This directive is used to break links in the call graph information. The form of this directive is as
follows:
and is automatically generated when the interrupt_level pragma is used. It states that any calls to
fun1 in trees other than the one rooted at fun2 should not be considered when checking for functions
that appear in multiple call graphs. Fun2() is typically intlevel0 or intlevel1 in compiler-generated
code when the interrupt_level pragma is used. Memory for the auto/parameter area for a fun1 will
only be assigned in the tree rooted at fun2.
4.3.8.13 FNCALL
This directive takes the form:
FNCALL is usually used in compiler generated code. It tells the linker that function fun1 calls func-
tion fun2. This information is used by the linker when performing call graph analysis. If you write
assembler code which calls a C function, use the FNCALL directive to ensure that your assembler
function is taken into account. For example, if you have an assembler routine called _fred which
calls a C routine called foo(), in your assembler code you should write:
4.3.8.14 FNCONF
The FNCONF directive is used to supply the linker with configuration information for a call graph.
FNCONF is written as follows:
fred(var1, bill(), 2);
FNARG _fred,_bill
FNBREAK fun1,fun2
FNCALL fun1,fun2
FNCALL _fred,_foo
FNCONF psect,auto,args
HI-TECH C Assembly Language
97

Related parts for SW500009