SW500007 Microchip Technology, SW500007 Datasheet - Page 114

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
HI-TECH C Assembly Language
4.3.8.6 SET
This pseudo-op is equivalent to EQU except that allows a symbol to be re-defined. For example
4.3.8.7 DB
DB is used to initialize storage as bytes. The argument is a list of expressions, each of which will be
assembled into one byte. Each character of the string will be assembled into one memory location.
Examples:
Note that because the size of an address unit in ROM is 2 bytes, the DB pseudo-op will initialise a
word with the upper byte set to zero.
4.3.8.8 DW
DW operates in a similar fashion to DB, except that it assembles expressions into words. Example:
4.3.8.9 DS
This directive reserves, but does not initialize, memory locations. The single argument is the number
of bytes to be reserved. Examples:
4.3.8.10 FNADDR
This directive tells the linker that a function has its address taken, and thus could be called indirectly
through a function pointer. For example
tells the linker that func1() has its address taken.
100
thomas SET 0h
alabel: DB ’X’,1,2,3,4,
DW -1, 3664h, ‘A’, 3777Q
alabel: DS 23
xlabel: DS 2+3
FNADDR _func1
;Reserve 23 bytes of memory
;Reserve 5 bytes of memory
Macro Assembler

Related parts for SW500007