SW500009 Microchip Technology, SW500009 Datasheet - Page 107

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
4.3.8.3 PSECT
The PSECT directive declares or resumes a program section. It takes as arguments a name and,
optionally, a comma-separated list of flags. The allowed flags are listed in Table 4.6, below.
flags need not be repeated.
Once a psect has been declared it may be resumed later by another PSECT directive, however the
abs defines the current psect as being absolute, i.e. it is to start at location 0. This does
not mean that this module’s contribution to the psect will start at 0, since other modules may
contribute to the same psect.
The bit flag specifies that a psect hold objects that are 1 bit long. Such psects have a scale
value of 8 to indicate that there are 8 addressable units to each byte of storage.
The class flag specifies a class name for this psect. Class names are used to allow local psects
to be referred to by a class name at link time, since they cannot be referred to by their own
name. Class names are also useful where psects need only be positioned anywhere within a
range of addresses rather than at one specific address.
The delta flag defines the size of an addressing unit. In other words, the number of bytes
covered for an increment in the address.
abs
bit
class=name
delta=size
global
limit=address
local
ovrld
pure
reloc=boundary
size=max
space=area
with=psect
Flag
Psect is absolute
Psect holds bit objects
Specify class name for psect
Size of an addressing unit
Psect is global (default)
Upper address limit of psect
Psect is not global
Psect will overlap same psect in other modules
Psect is to be read-only
Start psect on specified boundary
Maximum size of psect
Represents area in which psect will reside
Place psect in the same page as specified psect
Table 4.6: PSECT flags
Meaning
HI-TECH C Assembly Language
93

Related parts for SW500009