SW006015 Microchip Technology, SW006015 Datasheet - Page 61

C COMPILER MPLAB C32

SW006015

Manufacturer Part Number
SW006015
Description
C COMPILER MPLAB C32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheets

Specifications of SW006015

Supported Families
PIC32MX5, MX6, And MX7
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC32 MCUs
Tool Function
Compiler
Supported Devices
PIC32 MCUs
Tool Type
Compiler
Processor Series
PIC32
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
5.1
5.2
5.3
© 2007 Microchip Technology Inc.
INTRODUCTION
HIGHLIGHTS
REGISTER CONVENTIONS
Chapter 5. Compiler Runtime Environment
This chapter discusses the MPLAB C32 C compiler runtime environment.
Items discussed in this chapter are:
• Register Conventions
• Stack Usage
• Heap Usage
• Function Calling Convention
• Startup and Initialization
• Contents of the Default Linker Script
• RAM Functions
TABLE 5-1:
$0
$1
$2-$3
$4-$7
$8-$15
$16-$23
$24-$25
$26-$27
$28
$29
$30
$31
Register Name
REGISTER CONVENTIONS
zero
at
v0-v1
a0-a3
t0-t7
s0-s7
t8-t9
k0-k1
gp
sp
fp or s8
ra
Software Name
MPLAB
Always 0 when read.
Assembler temporary variable.
Return value from functions.
Used for passing arguments to functions.
Temporary registers used by compiler for expression
evaluation. Values not saved across function calls.
Temporary registers whose values are saved across
function calls.
Temporary registers used by compiler for expression
evaluation. Values not saved across function calls.
Reserved for interrupt/trap handler.
Global pointer.
Stack Pointer.
Frame Pointer if needed. Additional temporary saved
register if not.
Return address for functions.
®
C32 C COMPILER
USER’S GUIDE
Use
DS51686A-page 57

Related parts for SW006015