SW006012 Microchip Technology, SW006012 Datasheet - Page 69

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
4.1
4.2
4.3
© 2007 Microchip Technology Inc.
Chapter 4. MPLAB C30 C Compiler Runtime Environment
INTRODUCTION
HIGHLIGHTS
ADDRESS SPACES
This section discusses the MPLAB C30 C Compiler runtime environment.
Items discussed in this chapter are:
• Address Spaces
• Code and Data Sections
• Startup and Initialization
• Memory Spaces
• Memory Models
• Locating Code and Data
• Software Stack
• The C Stack Usage
• The C Heap Usage
• Function Call Conventions
• Register Conventions
• Bit Reversed and Modulo Addressing
• Program Space Visibility (PSV) Usage
The dsPIC Digital Signal Controller (DSC) devices are a combination of traditional PIC
Microcontroller (MCU) features (peripherals, Harvard architecture, RISC) and new
DSP capabilities. The dsPIC DSC devices have two distinct memory regions:
• Program Memory (Figure 4-1) contains executable code and optionally constant
• Data Memory (Figure 4-2) contains external variables, static variables, the system
Although the program and data memory regions are distinctly separate, the compiler
can access constant data in program memory through the program space visibility
window.
data.
stack and file registers. Data memory consists of near data, which is memory in
the first 8 KB of the data memory space, and far data, which is in the upper 56 KB
of data memory space.
USER’S GUIDE
MPLAB
DS51284F-page 63
®
C30
®

Related parts for SW006012