SW500009 Microchip Technology, SW500009 Datasheet - Page 132

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
Map Files
involves other function calls to determine the parameter values for this function. For example, if
input and output are both functions that take two int parameters and and both return an int, the
following:
shows that the function input is called to determine the second parameter to the function output.
any functions this function calls appear here, indented in the usual way. Under this is listed every
function (regardless of its depth in the call tree) that could be called to determine a parameter value
to the ARG function throughout the program. If any of these functions call other functions, they
also list called functions below, indented in the usual way. For example the following annotated call
graph snippet illustrates the ARG function one.
After each tree in call tree, there is an indication of the maximum call depth that might be realised
by that tree. This may be used as a guide to the stack usage of the program. No definitive value can
be given for the program’s total stack usage for several reasons:
The above call graph example is analysed in the following tutorial.
118
If the ARG flag appears after a function’s name, this implies that the call to this “ARG function”
The ARG function’s name is listed again under the line which actually shows the ARG flag, and
result = output(out_selector, input(in_selector, 10));
_one ARG size 0 offset 21
Certain parts of the call tree may never be reached, reducing that tree’s stack usage;
The contribution of interrupt (or other) trees to the tree associated with the main function
cannot be determined as the point in main’s call tree at which the interrupt (or other function
invocation) will occur cannot be known;
Any additional stack usage by functions, particularly interrupt functions, cannot be known;
and
The assembler optimizer may have replaced function calls with jumps to functions, reducing
that tree’s stack usage.
_one size 0 offset 21
_prep1 size 1,1 offset 45
_get size 0,0 offset 47
_prep2 size 1,1 offset 47
_two size 2,2 offset 21 ; ** _one may call _two
_get size 0,0 offset 47 ; _prep2 may call by _get
; _one is the ARG function
; ** here is _one’s call tree:
; # _prep1, _get & _prep2 may
; # ultimately be called to
; # obtain parameters for _one
Linker and Utilities

Related parts for SW500009