SW500010 Microchip Technology, SW500010 Datasheet - Page 129

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
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.
the flags need not be repeated.
Once a psect has been declared it may be resumed later by another PSECT directive, however
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
Table 4.6: PSECT flags
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
Meaning
HI-TECH C Assembly Language
129

Related parts for SW500010