SW500009 Microchip Technology, SW500009 Datasheet - Page 170

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
Hexmate
5.16.1.15 -SIZE
Using the -SIZE option will report the number of bytes of data within the resultant hex image to
standard output. The size will also be recorded in the log file if one has been requested.
5.16.1.16 -STRING
The -STRING option will embed an ASCII string at a fixed address. The usage of this option is:
where:
For example:
will store the ASCII data for the string, My favourite string (including null terminator) at ad-
dress 1000h.
will store the same string with every byte in the string being trailed with the hex code 34h.
5.16.1.17 -STRPACK
This option performs the same function as -STRING but with two important differences. Firstly, only
the lower seven bits from each character are stored. Pairs of 7 bit characters are then concatenated
and stored as a 14 bit word rather than in separate bytes. This is usually only useful for devices where
program space is addressed as 14 bit words. The second difference is that -STRING’s t specifier is
not applicable with -STRPACK.
156
Another example:
-STRING@Address[tCode]=”Text”
Address is the location to store this string.
Code is optional and allows a byte sequence to trail each byte in the string. This can allow the
bytes of the string to be encoded within an instruction.
Text is the string to convert to ASCII and embed.
-STRING@1000="My favourite string"
-STRING@1000t34="My favourite string"
Linker and Utilities

Related parts for SW500009