SW006010 Microchip Technology, SW006010 Datasheet - Page 53

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
5.1
5.2
5.3
 2002 Microchip Technology Inc.
INTRODUCTION
HIGHLIGHTS
CODE AND DATA SECTIONS
This section discusses the MPLAB C17 runtime environment, which is the set of
assumptions under which the compiler operates.
Items discussed in this chapter are:
• Code and Data Sections
• Startup and Initialization
• Memory Models
• Locating Code
• Locating Data
• Software Stack
• Software Stack Call Conventions
• Function Call Conventions
• Interrupt Support Macros
PIC17 microcontroller (MCU) devices have two distinct memory regions: program
memory and data memory. A section is a portion of an application located at a specific
address of PIC17 memory, either program or data memory.
There are two types of sections for each type of memory.
• program memory
• data memory
Sections are located through the use of
sectiontype
described in 2.6 “Statement Differences” and the directives are described in
5.3.2 “Section Contents”.
Sections are absolute, assigned or unassigned. See the MPLINK linker portion of the
MPASM™ User's Guide with MPLINK™ and MPLIB™ (DS33014) for more on section
allocation.
- code: Contains executable instructions.
- romdata: Contains variables and constants.
- udata: Contains statically allocated uninitialized user variables.
- idata: Contains statically allocated initialized user variables.
Chapter 5. Runtime Environment
is either
code
,
romdata
MPLAB
,
udata
#pragma sectiontype
or
idata
®
C17 C COMPILER
. Pragma statements are
USER’S GUIDE
directives, where
apRNOVM^-page 47
Part
Part
Part
Part
1
2
3
4

Related parts for SW006010