SW500007 Microchip Technology, SW500007 Datasheet - Page 109

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
Macro Assembler
psect, and some data being placed in the rbss psect.
Note that even though the two blocks of code in the text psect are separated by a block in the bss
psect, the two text psect blocks will be contiguous when loaded by the linker. In other words,
the incf _fred instruction will be followed by the clrf instruction in the final ouptut. The actual
location in memory of the text and bss psects will be determined by the linker.
psect.
4.3.8 Assembler Directives
Assembler directives, or pseudo-ops, are used in a similar way to instruction mnemonics, but either
do not generate code, or generate non-executable code, i.e. data bytes. The directives are listed in
Table 4.5, and are detailed below.
4.3.8.1 GLOBAL
GLOBAL declares a list of symbols which, if defined within the current module, are made public. If
the symbols are not defined in the current module, it is a reference to symbols in external modules.
Example:
The following is an example showing some executable instructions being placed in the text
Code or data that is not explicitly placed into a psect will become part of the default (unnamed)
PSECT text,class=CODE
adjust:
increment:
PSECT bss,class=BANK0,space=1
fred:
PSECT text,class=CODE
clear_fred:
GLOBAL lab1,lab2,lab3
goto clear_fred
incf _fred
DS 2
clrf _fred
return
HI-TECH C Assembly Language
95

Related parts for SW500007